joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4574b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x4574d7
push 0
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x4a25b0]
call ebx
mov esi, eax
test esi, esi
je 0x457527
nop dword [eax + eax]
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x457510
mov eax, dword [0x4a25d4]
cmp dword [eax + 0x1fc], 0
jne 0x45757e
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x45757e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x457560
push dword [0x4a25ac]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x4575a1
push 5
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x458120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a0014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4a25d4]
push edi
mov ax, word [esi + 0x14]
mov word [esi + 0x1f8], ax
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [esi + 0x3d1], al
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4581bb
push 1
push dword [0x4a25b0]
call edi
push dword [0x4a25b4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x458194
push 1
push dword [0x4a25b4]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x4581b6
call fcn.00458f60
mov byte [esi + 0x3d1], 1
call fcn.00457110
mov dword [esi + 0x20c], 0
lea eax, [esi + 0x208]
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
push eax
mov dword [eax], 0x2c
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x458252
push 1
push dword [0x4a25b0]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0xfefe
and ax, cx
mov ecx, 0x82
or ax, cx
test byte [esi + 0x1f8], 0x10
mov word [esi + 0x14], ax
jne 0x4582fa
mov ecx, dword [0x4a25d8]
test ecx, ecx
je 0x4582d6
movsx eax, word [esi + 0x1c]
cmp dword [ecx], eax
jl 0x4582d6
movsx eax, word [esi + 0x1e]
cmp dword [ecx + 4], eax
jl 0x4582d6
push 2
push dword [0x4a25b0]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x4582d6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4582d6
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
movsx eax, word [esi + 0x1c]
cmp eax, ecx
jne 0x4582d6
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
movsx eax, word [esi + 0x1e]
cmp eax, ecx
je 0x4582fa
or word [esi + 0x14], 0x14
push dword [0x4a25ac]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
movzx eax, ax
or eax, 2
push eax
push dword [0x4a25ac]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
call fcn.00457250
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x45832f
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x45832f
push 8
push 0x401
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.004591a0
call fcn.00457110
call fcn.00456d30
push 3
push dword [0x4a25b0]
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [0x4a25b4]
call esi
push 1
push 0
push dword [0x4a25b0]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4a25e8], 1
pop esi
call fcn.00462733
mov esp, ebp
pop ebp
ret
Function at 0x459260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
test esi, esi
je 0x459338
mov eax, dword [ebp + 8]
nop dword [eax]
cmp ax, word [esi + 2]
jne 0x4592d2
test byte [esi], 0x10
je 0x459291
test ebx, ebx
jne 0x459295
jmp 0x4592d2
test ebx, ebx
jne 0x4592d2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x4592a9
test eax, eax
jns 0x4592cf
jmp 0x4592ad
test eax, eax
js 0x4592cf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi]
cwde
test cl, 4
je 0x4592c3
test eax, eax
jns 0x4592cb
jmp 0x4592c7
test eax, eax
js 0x4592cb
movzx edi, word [esi + 4]
test edi, edi
jne 0x4592dc
mov eax, dword [ebp + 8]
cmp byte [esi], 0
jl 0x459338
add esi, 8
jmp 0x459280
test cl, 0x40
je 0x45930f
cmp edi, 0x7d0
jl 0x459317
mov esi, dword [ebp - 4]
push 0
movzx eax, di
or eax, 0x10000
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d0
jl 0x4592e9
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x459338
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x459338
test al, 1
je 0x4592ec
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4593a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4a0014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
xor eax, eax
mov word [edi], ax
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x4593ef
push 0x3f
lea edx, [ebp - 0x84]
mov ecx, 0x65
call fcn.00457f10
lea eax, [esi - 0x60]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x459434
lea eax, [esi - 0x70]
cmp eax, 0x17
ja 0x45940c
lea eax, [esi - 0x6f]
push eax
push 0x491904
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x459434
xor ecx, ecx
nop
cmp dword [ecx*8 + 0x48eac0], esi
je 0x459421
inc ecx
cmp ecx, 0x14
jl 0x459410
jmp 0x459434
mov ecx, dword [ecx*8 + 0x48eac4]
mov edx, edi
push 0x3f
call fcn.00457f10
add esp, 4
cmp word [edi], 0
jne 0x45944c
push 2
xor eax, eax
push esi
mov word [edi + 2], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [edi], ax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00462733
mov esp, ebp
pop ebp
ret
Function at 0x459770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4a0014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x108], edx
push 0x78
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
mov ecx, dword [ebp - 0x108]
movsx eax, word [ecx + 0x12]
cmp esi, eax
jne 0x4597d6
movsx edx, word [ecx + esi*2]
lea ecx, [ebp - 0x104]
call fcn.004593a0
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 0x6e]
push eax
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
lea eax, [esi + 0x6e]
push eax
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 8
jl 0x4597a4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462733
mov esp, ebp
pop ebp
ret
Function at 0x45da70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4a0014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm1, xmmword [0x491c30]
xor al, al
push ebx
push esi
mov byte [ebp - 0x412], al
lea esi, [ebp - 0x3fc]
push edi
mov edi, dword [ebp + 8]
mov al, 0x36
mov dword [ebp - 0x420], edx
mov ah, 1
mov dword [ebp - 0x424], ecx
mov edx, 8
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x411], al
mov dword [ebp - 0x410], 0
mov dword [ebp - 0xc], 0
lea ecx, [edx - 8]
movd xmm0, ecx
lea esi, [esi + 0x40]
pshufd xmm0, xmm0, 0
lea ecx, [edx - 4]
paddd xmm0, xmm1
movups xmmword [esi - 0x50], xmm0
movd xmm0, ecx
lea ecx, [edx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x40], xmm0
movd xmm0, edx
add edx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x30], xmm0
movd xmm0, ecx
lea ecx, [edx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esi - 0x20], xmm0
cmp ecx, 0x100
jl 0x45dad0
xor esi, esi
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x418], edx
nop word [eax + eax]
mov cl, al
shr al, 1
shl cl, 7
add al, cl
test ah, ah
je 0x45db75
movzx edx, byte [esi + edi]
mov cl, al
and cl, 1
add cl, 2
movzx ecx, cl
imul edx, ecx
mov ch, byte [ebp - 0x411]
add ch, dl
mov edx, dword [ebp - 0x418]
mov byte [ebp - 0x411], ch
jmp 0x45db7b
mov ch, byte [ebp - 0x411]
mov cl, byte [esi + edi]
xor cl, al
jne 0x45db9b
test ah, ah
je 0x45db91
cmp ch, byte [esi + edi + 1]
sete byte [ebp - 0x412]
mov cl, byte [edi]
mov al, 0x1b
xor ah, ah
xor esi, esi
xor cl, al
mov edx, dword [ebp + edx*4 - 0x40c]
inc esi
mov edi, dword [ebp - 0x418]
add bl, dl
add bl, cl
movzx ebx, bl
mov ecx, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edi*4 - 0x40c], ecx
mov dword [ebp + ebx*4 - 0x40c], edx
mov edx, edi
mov edi, dword [ebp - 0x41c]
inc edx
mov dword [ebp - 0x418], edx
cmp edx, 0x100
jl 0x45db40
cmp byte [ebp - 0x412], 0
je 0x45dc58
mov edi, dword [ebp - 0x420]
xor esi, esi
mov edx, dword [ebp - 0x410]
mov ebx, dword [ebp - 0xc]
test edi, edi
jle 0x45dc42
nop
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x40c]
mov al, cl
add al, bl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x40c]
mov dword [ebp + edx*4 - 0x40c], eax
mov dword [ebp + ebx*4 - 0x40c], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x424]
mov al, byte [ebp + eax*4 - 0x40c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x45dc00
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462733
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462733
mov esp, ebp
pop ebp
ret
Function at 0x45eb60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x45eb6b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0045eb80
Function at 0x46796c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004677e3
Function at 0x14a7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014a71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x14a707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14a706a
add dl, dl
jne 0x14a7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14a70dc
xor eax, eax
add dl, dl
jne 0x14a7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14a717d
add dl, dl
jne 0x14a70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14a70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14a70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14a70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14a70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14a7075
mov eax, 1
add dl, dl
jne 0x14a70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14a70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14a70e1
sub eax, ebx
mov ebx, 1
jne 0x14a7128
mov ecx, 1
add dl, dl
jne 0x14a710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14a7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14a7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14a7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14a713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14a714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14a7136
cmp eax, 0x7d00
jae 0x14a716d
cmp eax, 0x500
jb 0x14a7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14a7075
cmp eax, 0x7f
ja 0x14a7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14a7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14a719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x14a7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4044e0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov bl, byte [esp + 0x118]
mov esi, eax
mov edi, 0x10
mov edx, dword [0x40ce80]
lea eax, [esp + 0x10]
push eax
push 0x40ce60
push 0
lea ecx, [esp + 0x20]
push 0x100
push ecx
push edx
mov dword [esp + 0x28], edi
call sub.WSOCK32.dll_recvfrom
mov ebp, eax
test ebp, ebp
jle 0x404572
cmp word [esp + 0x1e], 0x3000
jne 0x404572
mov cl, byte [esp + 0x14]
mov al, byte [esp + 0x15]
mov edx, dword [0x40ce74]
cmp cl, 0x81
jne 0x40454f
test al, al
jne 0x40454f
cmp edx, 0xffffffff
je 0x4045a1
cmp dword [0x40ce64], edx
jne 0x404572
test al, al
jne 0x404572
mov eax, dword [esp + 0x20]
mov edx, dword [0x40ce24]
and eax, 0xffff
cmp eax, edx
jne 0x404572
cmp cl, bl
je 0x4045a1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp bl, 0x81
jne 0x404592
cmp dword [0x40ce74], 0xffffffff
jne 0x404592
sub eax, esi
cmp eax, 0xa
ja 0x40459d
jmp 0x4044fe
sub eax, esi
cmp eax, 0x64
jbe 0x4044fe
mov cl, byte [esp + 0x14]
test ebp, ebp
jle 0x4045b8
cmp word [esp + 0x1e], 0x3000
jne 0x4045b8
mov edx, dword [esp + 0x1a]
mov dword [0x40ce54], edx
cmp cl, bl
je 0x4045ca
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x16]
push eax
call sub.WSOCK32.dll_ntohs
mov edi, dword [esp + 0x11c]
mov cx, ax
and ecx, 0xffff
lea esi, [esp + 0x14]
mov edx, ecx
mov eax, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x405ec0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
mov esi, 0x10
mov edx, dword [0x40ce80]
lea eax, [esp + 0x10]
push eax
push 0x40ce60
push 0
lea ecx, [esp + 0x20]
push 0x100
push ecx
push edx
mov dword [esp + 0x28], esi
call sub.WSOCK32.dll_recvfrom
mov ecx, dword [0x40ce74]
mov ebp, eax
mov eax, dword [0x40ce64]
cmp eax, ecx
jne 0x405f3a
mov al, byte [esp + 0x15]
test al, al
jne 0x405f3a
mov ecx, dword [esp + 0x20]
mov eax, dword [0x40ce24]
and ecx, 0xffff
cmp ecx, eax
jne 0x405f3a
mov dl, byte [esp + 0x118]
mov al, byte [esp + 0x14]
cmp al, dl
je 0x405f45
call edi
sub eax, ebx
cmp eax, 0x64
ja 0x405f87
jmp 0x405ed9
mov ecx, dword [esp + 0x16]
mov eax, dword [esp + 0x1a]
push ecx
mov dword [0x40ce54], eax
call sub.WSOCK32.dll_ntohs
mov edi, dword [esp + 0x11c]
mov cx, ax
and ecx, 0xffff
lea esi, [esp + 0x14]
mov edx, ecx
mov eax, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x104
ret
Function at 0x40669e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f15b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048408a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481f9c
mov eax, dword [eax]
push 0x4afc58
push eax
call fcn.004741e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484315
test bl, bl
je 0x405f12
push 0x4afc58
lea ecx, [esp + 0xc]
call fcn.004846a5
push 0x4afc64
lea ecx, [esp + 0xc]
call fcn.004846a5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x405f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484315
jmp 0x406019
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405fd2
lea edx, [esp + 0x7c]
push 0x4afc60
push edx
call fcn.004741e4
add esp, 8
test eax, eax
je 0x405fd2
lea eax, [esp + 0x7c]
push 0x4afc5c
push eax
call fcn.004741e4
add esp, 8
test eax, eax
je 0x405fd2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405f62
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00484315
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406820
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406882
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x406890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4befd8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4069c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4068f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484315
xor eax, eax
jmp 0x406a3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484452
push esi
lea ecx, [esp + 0xc]
call fcn.004846e1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x406a1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406820
test eax, eax
jne 0x406a1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00406820
test eax, eax
jne 0x406a1d
lea eax, [esp + 0x14]
push 0x4afc74
push eax
call fcn.00475280
mov esi, eax
add esp, 8
test esi, esi
jne 0x4069fc
lea ecx, [esp + 0x14]
push 0x4afc70
push ecx
call fcn.00475200
mov esi, eax
add esp, 8
test esi, esi
jne 0x4069fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4069ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484402
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40690e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484315
xor eax, eax
jmp 0x406a3f
mov byte [esi], 0
push 0x4afc6c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00484315
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4