joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4627c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00468bd0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4628b9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004161d0
test eax, eax
jne 0x4628b9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004161d0
test eax, eax
jne 0x4628b9
lea edx, [esp + 0x10]
push 0x4bbaf0
push edx
call fcn.00475ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46288a
lea eax, [esp + 0x10]
push 0x4bbaec
push eax
call fcn.00475ef0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46288a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x46288d
mov byte [esi], 0
push 0x4bb2b4
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x468b10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4951f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x468bc0
mov eax, dword [0x4bc50c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00486003
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00486052
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00485faf
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x468ba7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x468ba7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00485c1f
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46bcc0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x495680
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46be67
mov ecx, dword [0x4bc50c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x46bdbc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0046a9e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00485d0c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00485c1f
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4bb2b4
call fcn.00485c8d
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0046ada0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00485d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00485c1f
lea ecx, [esp + 0xc]
call fcn.004860e7
mov ecx, dword [esp + 0xc]
push 0x4bbcf4
push ecx
call fcn.00474de4
add esp, 8
test eax, eax
je 0x46bde4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x46bd1d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00485c1f
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00485c1f
jmp 0x46be6b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0046ba60
test eax, eax
push 0
je 0x46be4f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0046a100
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46be35
cmp eax, 0x64
jg 0x46be23
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46bdc0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46bdc0
cmp eax, 0x64
jge 0x46bdbc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46bdc0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0046a100
mov esi, eax
jmp 0x46bdc0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x46be75
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x48802a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488062
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048607a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486052
jmp 0x48806e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48971b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48975d
call fcn.0048f4a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48975d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x489754
xor eax, eax
jmp 0x489765
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048976b
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f9d3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48fa01
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48fa1f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f939
jmp 0x48fa1f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48fa1f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f939
test edi, edi
mov eax, edi
jne 0x48fa09
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
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 0x5040d1
push 0x504088
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 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
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 [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x408959
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408976
xor dword [edi], edx
and esi, esi
inc edi
sub esi, 0x9d6e4dda
inc ebx
cmp edi, eax
jne fcn.00408959
ret
Function at 0x10004d10
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x65d4eb5f
inc ebp
mov byte [0x94b3f601], al
pop ss
sub dword [eax - 0x25], edx
in al, dx
scasb al, byte es:[edi]
push ecx
and dword [edi + 0x26ea79b8], esi
xor ebx, dword [esi]
jbe 0x10004cab
out dx, al
xchg edi, eax
loop 0x10004ce7
int1
aam 2
std
and dword [edi - 0x288a341], edi
pop esp
ja 0x10004ccd
aam 0x50
cld
hlt
inc ebx
pop es
add byte [edx + ecx*2 + 0xfecc932], ah
mov esi, 0xc240f0d3
popal
hlt
sbb byte [eax + 0x10050b5b], al
stosb byte es:[edi], al
jge 0x10004ccd
adc eax, dword [ecx - 0x330d36f3]
inc edx
or dword [0x42ccf2c9], 0x1347837c
sub al, 0x56
jl 0x10004ca6
inc edi
adc ebp, dword [esi + edx*2]
lds esi, [eax]
nop
test dword [edx], ebx
push cs
daa
push ss
dec esp
jbe 0x10004d1b
out dx, al
xchg edi, eax
loop 0x10004d57
int1
aam 2
std
and dword [edi - 0x288a341], edi
inc esp
sbb bl, al
mov ecx, 0x128e1761
scasb al, byte es:[edi]
aam 0x50
mov ebp, 0xec521b20
and eax, 0xa7d51406
jp 0x10004d2e
or eax, 0xf8c6de77
loop 0x10004d84
retf 0x300f
imul esi, dword [esi + 0x1ca816d6], 0xffffffeb
rcr ah, cl
mov cl, 0xc0
pop ebx
iretd
Function at 0x100ac2eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [esp + 1], dh
mov dword [esp], edi
push cx
mov byte [esp + 3], cl
mov dword [esp + 2], edx
pop word [esp]
push dword [esp + 2]
pop dword [esp]
lea esp, [esp + 2]
mov dword [esp], edx
mov dh, ch
mov edx, dword [esp]
pushfd
jmp 0x100ac340
push dx
push word [esp + 1]
push word [esp + 3]
mov word [esp], di
jmp 0x100ac2b4
lea edx, [edi*4]
mov edx, dword [esp]
mov ecx, esp
mov cl, ch
lea ecx, [eax*4]
mov ecx, esi
mov dl, byte [esp]
sete ch
mov ecx, edx
bswap si
jmp 0x100ac827
lea edx, [ecx + esi]
mov word [esp + 1], bp
pop dx
xchg dh, dl
mov dx, word [esp + 1]
push word [esp]
xchg dl, dh
mov dword [esp], esi
mov dh, bl
pushal
mov dl, byte [esp + 6]
mov si, 0x1754
mov esi, 0x79fa5f55
not dx
push word [esp + 0xc]
lea esp, [esp + 2]
mov dword [esp + 3], ecx
mov esi, 0x1e3a7899
jmp 0x100ac30e
mov si, word [esp]
bswap si
mov ecx, dword [esp + 3]
lea esi, [edi*4]
mov dh, 0x62
mov edx, 0x473c2fe8
mov si, 0x4493
not dx
setae dh
mov dh, byte [esp]
bswap dx
mov esi, dword [esp + 0x20]
lea edx, [eax*4]
not dx
not dh
mov dh, 0xb8
bswap edx
setp dh
mov dx, 0x7d4a
mov edx, dword [esp + 0x24]
lea esp, [esp + 0x28]
pushfd
lea esp, [esp + 4]
jmp 0x10080cbc

Function at 0x100ad6b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.10080c81
push esi
mov byte [esp + 2], al
lea esp, [esp + 4]
push bx
mov byte [esp], bh
lea esp, [esp + 2]
jmp 0x10080cbc
Function at 0x100bfaa1
Capabilities:
Encode data using base64
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
lea esp, [esp + 4]
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push ecx
pop word [esp]
mov word [esp], sp
lea esp, [esp + 2]
push esi
pushfd
mov word [esp + 1], sp
pop word [esp]
push word [esp]
lea esp, [esp + 3]
mov byte [esp], ah
lea esp, [esp]
lea esp, [esp + 1]
push edi
pushal
xchg ebx, esi
mov eax, dword [esp]
mov dword [esp + 4], ecx
push edi
pushal
mov dword [esp + 8], eax
mov dword [esp + 8], esp
mov byte [esp + 0x1a], dh
lea esp, [esp + 0x11]
pushal
lea esp, [esp + 3]
lea esp, [esp + 0x30]
popal
call fcn.100abfc2
and dword [ebp - 4], 0
mov ebx, eax
pushfd
shl ebx, 2
push sp
push word [esp + 1]
lea esp, [esp]
mov word [esp + 1], bx
pushal
pushal
push dword [esp + 0x21]
mov byte [esp + 0x25], ah
pop word [esp + 0x1e]
lea esp, [esp + 2]
lea esp, [esp + 0x48]
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x1007f2e4
lea edx, [esi + ebx*4 + 8]
jmp 0x1007f406
pushfd
lea esp, [esp + 4]
lea esp, [esp + 4]
jmp 0x1007f31a
lea esp, [esp]
push word [esp + 2]
push dword [esp + 4]
pop dword [esp]
mov word [esp], dx
jmp 0x100bfa5c
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
push ebx
pushal
not dh
mov eax, 0x33424331
lea edx, [ebx*4]
lea esi, [esp + ecx]
lea edx, [edi - 0x43f3]
mov bx, word [esp]
mov edx, dword [esp]
pushal
mov dx, word [esp + 0xf]
mov dword [esp + 0x30], ecx
pushfd
mov dword [esp], ebp
jmp 0x1007f3e2
push word [esp + 3]
pop word [esp + 2]
lea esp, [esp + 2]
lea esp, [esp + 0x24]
popal
lea ebx, [ebx - 4]
mov dword [ebx], eax
pop ebx
push esi
mov esi, edx
mov eax, dword [esi]
pop esi
mov dword [edx - 4], edi
mov edi, dword [ecx]
push ebx
pushal
mov di, sp
setae dh
bswap ax
mov dword [esp + 0x10], ecx
push esi
pop word [esp]
lea esp, [esp + 2]
popal
mov dword [ebx], eax
pop ebx
mov eax, dword [edx + 4]
mov dword [edx], edi
push esi
mov esi, ecx
lea esi, [esi + 4]
mov edi, dword [esi]
pop esi
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x1007f409
push edx
mov edx, ebp
lea edx, [edx - 8]
mov eax, dword [edx]
pop edx
jmp 0x1007f2e4
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call fcn.0049e000
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x40cb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40cb0f
pop dword [ebp - 0x48]
mov eax, 0x20bb5a09
sub eax, 0x207a8efa
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x6bc7fa1b
add dword [ebp - 0x58], 0xe28a4b30
mov dword [ebp - 0x54], 0x897fbb40
add dword [ebp - 0x54], 0xa8b39105
mov dword [ebp - 0x50], 0xa7374426
add dword [ebp - 0x50], 0xa5150008
mov dword [ebp - 0x4c], 0x5bb722e3
sub dword [ebp - 0x4c], 0x5bb722e3
lea eax, [ebp - 0x58]
push eax
mov eax, 0x339e6e07
add eax, 0xcca2c299
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xd90c1d3e
sub dword [ebp - 0x58], 0x6499b3e8
mov dword [ebp - 0x54], 0xe912d7bb
add dword [ebp - 0x54], 0x585989ba
mov dword [ebp - 0x50], 0x7e068f9d
add dword [ebp - 0x50], 0xe568dccf
mov dword [ebp - 0x4c], 0x78571fde
sub dword [ebp - 0x4c], 0x78571fde
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x8193664e
add eax, 0x7eadc9ee
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3afa6
push 0
call eax
mov ecx, 0x4960
mov ebx, eax
mov esi, 0x2acba415
add esi, 0xd5760beb
add esi, dword [ebp - 0x48]
mov edi, 0xd395e774
sub edi, 0x7ba6e874
xor dword [ebp - 0x44], 0xe3cf2fbf
mov edx, dword [esi]
add dword [ebp - 0x44], esi
sub edx, edi
xor dword [ebp - 0x1c], eax
mov dword [ebx], edx
sub dword [ebp - 0x20], 0x9cef0f1b
add ebx, 0xee6fb20b
add ebx, 0x11904df9
add esi, 0x7f808451
add esi, 0x807f7bb3
loop 0x40cc2b
add eax, 0x37ecb082
sub eax, 0x37eb982f
mov ebx, eax
add eax, 0xdf0e7398
add eax, 0x20f18c6d
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x402bed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407550
cmp edx, dword [eax]
je 0x402c0f
add eax, 8
inc ecx
cmp eax, 0x4075e0
jl 0x402c00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407550]
jne 0x402d3d
mov eax, dword [0x407aa8]
cmp eax, 1
je 0x402d17
test eax, eax
jne 0x402c40
cmp dword [0x407218], 1
je 0x402d17
cmp edx, 0xfc
je 0x402d3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402c77
lea eax, [ebp - 0x1a4]
push 0x406448
push eax
call fcn.00403460
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402ef0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402cba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402ef0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406444
push edi
call fcn.00404540
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x406428
push eax
call fcn.00403460
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403470
lea eax, [ebp - 0xa0]
push 0x406424
push eax
call fcn.00403470
push dword [esi + 0x407554]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403470
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4063fc
push eax
call fcn.004044ae
add esp, 0x2c
pop edi
jmp 0x402d3d
lea eax, [ebp + 8]
lea esi, [esi + 0x407554]
push 0
push eax
push dword [esi]
call fcn.00402ef0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret