joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404300
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x404361
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404344
cmp edi, 2
jb 0x404344
cmp byte [esi], cl
jne 0x404344
cmp byte [esi + 1], cl
jne 0x404344
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x434720]
jmp 0x404315
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x434720]
test edi, edi
jne 0x404315
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404390
cmp cl, 0x23
jne 0x404377
cmp byte [esi], cl
jne 0x404377
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x434720]
test cl, cl
jne 0x404368
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4044a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4044b4
mov dword [ebx], 0
mov edx, 0x434500
call fcn.004043a0
mov esi, eax
test esi, esi
je 0x4045a2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x404598
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404598
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x404598
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x404598
mov eax, dword [0x43c6e8]
test eax, eax
je 0x40452c
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x404598
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x40457d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x43c6e8]
add esp, 4
test eax, eax
je 0x40456a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40458f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x434720]
sub esi, 1
jne 0x406553
mov eax, dword [0x43c6e8]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x406582
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x406591
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x4065aa
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.004164d0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043207c
mov esp, ebp
pop ebp
ret 4
Function at 0x40b240
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40b27d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40b263
cmp byte [esi], bl
jne 0x40b263
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x434720]
test bl, bl
jne 0x40b254
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040b1e0
Function at 0x4155c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x415642
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x4155fc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00417050
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004047b0
mov edx, dword [esi]
mov ecx, 0x43c6e4
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004047b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41f60a
mov eax, dword [0x43c6e8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41f5fd
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41f63b
mov eax, dword [0x43c6e8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41f62e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41f66c
mov eax, dword [0x43c6e8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41f65f
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41f6b9
mov eax, dword [0x43c6e8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41f6ac
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41f6ea
mov eax, dword [0x43c6e8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41f6dd
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41f71b
mov eax, dword [0x43c6e8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41f70e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00421ea0
Function at 0x42db90
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov ebx, edx
je 0x42dc01
mov cl, byte [ebx]
lea esi, [ebx + 1]
or eax, 0xffffffff
test cl, cl
je 0x42dbd8
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x42dbbf
cmp byte [esi], cl
jne 0x42dbbf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x434720]
test cl, cl
jne 0x42dbb0
mov ecx, dword [0x43c6e8]
not eax
cmp dword [ecx + 0x1be0], eax
jne 0x42dbee
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x42dc63
mov byte [ecx + 0x1c20], 1
pop edi
pop esi
pop ebx
ret
mov edi, dword [0x43c6e8]
xor edx, edx
mov eax, dword [edi + 0x1ba8]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.00404300
mov esi, eax
add esp, 4
cmp dword [edi + 0x1be0], esi
jne 0x42dc39
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x42dc48
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], esi
jne 0x42dc61
push ecx
push ebx
mov edx, 0xb
mov ecx, esi
call fcn.004164d0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4307b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4337f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x43c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0x5958425b
xor ecx, ecx
mov word [ebp - 0x10], 0x49
mov byte [ebp - 0xe], 1
nop word [eax + eax]
lea eax, [ecx + 0x2f]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 5
jb 0x4307f0
push 0x68
mov byte [ebp - 0xe], 0
call fcn.0043208f
add esp, 4
mov esi, eax
push 0x68
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x14]
mov dword [esi + 0x4c], 0x3e4ccccd
mov dword [esi + 0x50], 0x3e4ccccd
add esp, 0xc
mov dword [esi + 0x54], eax
mov dword [esi], vtable.CLoaderMenu.0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x64], 0
mov edi, dword [0x43c09c]
mov dword [0x43c09c], esi
test edi, edi
je 0x430895
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x43087d
mov eax, dword [0x43c6e8]
test eax, eax
je 0x430873
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x68
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00432310
mov esi, dword [0x43c09c]
add esp, 8
movaps xmm0, xmmword [0x438d30]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x100362f
nop dword [eax]
lea eax, [ecx + 0x30]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0x12
jb 0x4308b0
lea eax, [ebp - 0x28]
mov byte [ebp - 0x15], 0
push eax
push esi
call fcn.00401e20
push 0x14
call fcn.0043208f
mov edi, eax
add esp, 0xc
lea esi, [edi + 0xc]
mov ecx, esi
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CClient_.0
call fcn.00401190
mov dword [0x43c0a0], esi
mov esi, dword [0x43c0a4]
mov dword [0x43c0a4], edi
test esi, esi
je 0x430936
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x430936
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x430936
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x43c09c]
call fcn.004309c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431d50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x220
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x431d9d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043207c
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x431e07
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
mov eax, ebx
lea ecx, [ebp - 0x208]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x431df0
test dl, dl
je 0x431dec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x431df0
add ecx, 2
add eax, 2
test dl, dl
jne 0x431dd0
xor eax, eax
jmp 0x431df5
sbb eax, eax
or eax, 1
test eax, eax
je 0x431e23
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
jne 0x431dc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043207c
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.0043207c
mov esp, ebp
pop ebp
ret 8
Function at 0x432c5e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x432c9d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x432c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x432c9d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x432c9d
cmp dword [ecx + 0x74], 0xe
jbe 0x432c9d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406389
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4063ad
xor eax, eax
test eax, eax
je 0x4063c0
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4063c0
xor ecx, ecx
jmp 0x4063c3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x409014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret 4

Function at 0x4064a6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426dac], 0
push esi
jne 0x4064dd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064b7
mov dword [ecx*4 + 0x426da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4064b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40650e
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426da8]
xor eax, esi
inc ecx
dec edx
jne 0x4064f0
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40808f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.0040792a
lea edi, [esi + 0x1c]
mov dword [esp + 0x230], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x20]
mov byte [esp + 0x230], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x24]
mov byte [esp + 0x230], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x230], 5
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
push 0x40b980
mov ecx, ebp
mov byte [esp + 0x234], 6
mov dword [esi], 0x409450
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
call fcn.0040791e
push 0x40b980
mov ecx, ebx
call fcn.0040791e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x28]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x144]
push str._02d_02d_04d__02d_02d_02d_03d.TXT
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0040791e
lea edx, [esp + 0x128]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x40101d
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40808f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.0040792a
lea edi, [esi + 0x1c]
mov dword [esp + 0x230], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x20]
mov byte [esp + 0x230], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x24]
mov byte [esp + 0x230], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x230], 5
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
push 0x40b980
mov ecx, ebp
mov byte [esp + 0x234], 6
mov dword [esi], 0x409450
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
call fcn.0040791e
push 0x40b980
mov ecx, ebx
call fcn.0040791e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x28]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x144]
push str._02d_02d_04d__02d_02d_02d_03d.TXT
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0040791e
lea edx, [esp + 0x128]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret

Function at 0x4011c0
Capabilities:
Access peb ldr_data
Delete file
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4080df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x409450
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push eax
mov dword [esp + 0x18], 5
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CObArray::CObArray
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401270
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, ecx
push esi
push 0x40b980
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.0040791e
push ebx
push 0x401330
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x401296
pop esi
pop ebx
ret
push ebp
lea ebp, [ebx + 0x24]
push esi
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebx + 0x1c]
push 0x40b144
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40131b
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push esi
push str._r_n_LAST_TOKEN_INFO__r_n
call edi
mov eax, dword [ebx + 0x2c]
push esi
push eax
call edi
push esi
push str._r_n_r_n
call edi
push esi
push str._r_n_LAST_KEY_STROKE__r_n
call edi
mov ecx, dword [ebx + 0x28]
push esi
push ecx
call edi
push esi
push str._r_n_r_n
call edi
push esi
push str._r_n_INFECTION_PATH___r_n
call edi
mov edx, dword [ebx + 0x30]
push esi
push edx
call edi
add esp, 0x40
push esi
push str._r_n_r_n
call edi
mov eax, dword [ebp]
push esi
push eax
call edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
Function at 0x401ad0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40823c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
lea edi, [esi + 8]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0xc]
mov dword [esp + 0x230], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x128]
mov byte [esp + 0x230], 1
push eax
push 0xff
mov dword [esi], 0x40973c
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x44]
push str._02d_02d_04d__02d_02d_02d_03d.BMP
push eax
call ebp
add esp, 0x24
lea ecx, [esp + 0x128]
push ecx
mov ecx, edi
call fcn.0040791e
lea edx, [esp + 0x28]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x18]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
push str._02d_02d_04d__02d_02d_02d_03d.JPG
lea ecx, [esp + 0x48]
push ecx
call ebp
add esp, 0x24
lea edx, [esp + 0x128]
mov ecx, ebx
push edx
call fcn.0040791e
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x1f2c
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x22c]
add esp, 4
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret