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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
call fcn.00402045
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.FDICreate
push edi
call esi
push str.FDICopy
push edi
mov dword [ebp - 0x28], eax
call esi
push str.FDIDestroy
push edi
mov dword [ebp - 0x24], eax
call esi
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
cmp dword [ebp - 0x28], esi
je 0x402b95
cmp dword [ebp - 0x24], esi
je 0x402b95
cmp eax, esi
je 0x402b95
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x401ef4
push 0x401ee7
push 0x401ec6
push 0x401ea5
push 0x401e6f
push 0x401e64
push 0x401e57
call dword [ebp - 0x28]
add esp, 0x24
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x402afd
push str.Could_not_create_FDI_context.
call fcn.00401038
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x401f1d
push esi
mov edi, 0x409c00
push edi
push 0x409d60
push eax
call dword [ebp - 0x24]
add esp, 0x1c
push esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x404
push 0x3ef
push dword [0x406024]
call ebx
movzx eax, word [ebp - 0xc]
shl eax, 0x10
push eax
push esi
push 0x401
push 0x3ef
push dword [0x406024]
call ebx
lea eax, [ebp - 0x10]
push eax
push esi
push 0x401f1d
push esi
push edi
push 0x409d60
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
call dword [ebp - 0x24]
push dword [ebp - 4]
call dword [ebp - 0x20]
add esp, 0x20
call fcn.004025e4
cmp dword [0x40665c], esi
je 0x402b90
push 5
push esi
push esi
push edi
push str.explore
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.00401000
push str.Could_not_load_cabinet.dll.
jmp 0x402af8
Function at 0x4033be
Capabilities:
Create shortcut via ishelllink
Terminate process

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x409d08], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [0x406028], eax
call fcn.0040216c
cmp dword [0x409364], edi
je 0x403404
push 0x409c00
call fcn.0040175c
pop ecx
test eax, eax
jne 0x4033fe
push str.Couldnt_create_output_directory.
call fcn.00401038
push edi
call fcn.00402a5e
push esi
mov esi, str.Segoe_UI
push esi
call fcn.00401284
pop ecx
test eax, eax
je 0x403418
push esi
jmp 0x40342d
mov esi, str.Tahoma
push esi
call fcn.00401284
pop ecx
test eax, eax
jne 0x403415
push 0x40484c
push 0x409d20
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x402f51
push edi
push 0x66
push dword [0x409d08]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403455
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x406004]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a8]
push ebx
mov ebx, dword [ebp + 0x1a4]
push edi
mov edi, dword [ebp + 0x1a0]
push 0
mov dword [ebp - 0x80], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x78]
push eax
push 0x404894
push 1
push 0
push 0x4048b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403511
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x4048a4
push eax
call dword [ecx]
test eax, eax
jl 0x403508
push 0x104
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x4034ff
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x74]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040352e
add ebp, 0x198
leave
ret

Function at 0x40352e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406004]
jne 0x403538
repz ret
jmp fcn.0040356b
Function at 0x401d2e
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp byte [esi], 0x5e
jne 0x401d43
inc esi
push 8
xor eax, eax
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov cl, byte [esi]
mov edi, esi
mov dword [ebp - 8], edi
test cl, cl
je 0x401e10
xor edx, edx
mov dword [ebp - 4], edx
cmp cl, 5
jne 0x401d6c
inc edx
inc esi
mov dword [ebp - 4], edx
mov cl, byte [esi]
mov dword [ebp - 0xc], esi
inc esi
movzx eax, cl
sub eax, 0
je 0x401d91
sub eax, 1
je 0x401dd8
sub eax, 1
je 0x401de8
sub eax, 1
je 0x401dc8
sub eax, 1
je 0x401d99
sub eax, 1
jne 0x401df9
push 2
call dword [sym.imp.msvcrt.dll_exit]
push 8
pop ecx
push 0
push 0xd
push 0xd
or eax, 0xffffffff
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x20
pop edx
mov ecx, ebx
call fcn.004017a9
push 0
push 0xa
push 0xa
push 0x20
pop edx
mov ecx, ebx
call fcn.004017a9
mov edi, dword [ebp - 8]
jmp 0x401df9
xor ecx, ecx
mov al, byte [esi]
or byte [ecx + ebx], al
inc esi
inc ecx
cmp ecx, 0x20
jl 0x401dca
jmp 0x401df9
test edx, edx
jne 0x401d91
mov al, byte [esi]
mov esi, dword [ebp - 0xc]
add esi, 2
test al, al
je 0x401d91
mov al, byte [esi]
mov ecx, ebx
push 1
push eax
push eax
push 0x20
pop edx
call fcn.004017a9
inc esi
cmp dword [ebp - 4], 0
je 0x401e10
mov al, byte [esi]
mov edi, esi
mov dword [ebp - 8], esi
mov cl, al
test al, al
jne 0x401d5b
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f90
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x40ec18], 0x401e20
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
je 0x4020a3
mov edx, esi
mov ecx, edi
call fcn.00401c1f
test eax, eax
je 0x401fd8
mov edx, esi
mov ecx, edi
call fcn.00401e33
jmp 0x4020a3
cmp byte [edi], 0x5e
push ebx
mov ebx, dword [0x4067c0]
mov byte [ebp - 0x127], 0
jne 0x401fee
or ebx, 8
lea ecx, [esi - 1]
xor eax, eax
push 0xfffffffffffffffe
pop edx
test ecx, ecx
jle 0x402008
cmp byte [edi + eax], 0x5c
jne 0x402003
mov edx, eax
inc eax
inc eax
cmp eax, ecx
jl 0x401ffa
test esi, esi
jle 0x40201f
cmp byte [esi + edi - 1], 0x24
jne 0x40201f
lea eax, [esi - 2]
cmp edx, eax
je 0x40201f
mov esi, ecx
or ebx, 0x10
cmp esi, 0xfe
jg 0x4021c5
push esi
push edi
mov edi, 0x100
lea eax, [ebp - 0x124]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
test bl, 0x10
je 0x402051
mov byte [ebp + esi - 0x124], 0xd
inc esi
cmp esi, edi
jae 0x4021c0
lea ecx, [ebp - 0x124]
mov byte [ebp + esi - 0x124], 0
call fcn.0040182d
mov edi, eax
test edi, edi
je 0x4020a2
inc dword [0x40ec1c]
test bl, 8
jne 0x402089
lea edx, [ebp - 0x24]
mov ecx, edi
call fcn.00401d2e
mov edi, eax
lea edx, [ebp - 0x24]
mov ecx, edi
call fcn.00401d2e
cmp byte [eax], 0
jne 0x4020b3
mov dword [0x40ec18], 0x401e20
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004051e0
leave
ret 8
xor ebx, ebx
mov eax, ebx
xor edx, edx
sar eax, 3
mov ecx, ebx
and ecx, 7
inc edx
shl edx, cl
movsx eax, byte [ebp + eax - 0x24]
test eax, edx
je 0x402191
push 8
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
jne 0x4020e7
call fcn.004028e2
mov esi, eax
movzx ecx, byte [ebx + 0x40ec20]
mov dword [esi + 4], edi
test ecx, ecx
jne 0x402181
mov ecx, dword [0x406034]
mov dword [ebp - 0x12c], ecx
lea eax, [ecx + 1]
mov dword [0x406034], eax
cmp ecx, 0x100
jge 0x4021a3
and dword [ecx*4 + 0x4063c0], 0
cmp dword [0x40604c], 0
mov byte [ebx + 0x40ec20], cl
jne 0x402181
push ebx
call dword [sym.imp.msvcrt.dll_isalpha]
pop ecx
test eax, eax
je 0x40217b
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], bl
push eax
call dword [sym.imp.msvcrt.dll__strlwr]
pop ecx
cmp byte [eax], bl
jne 0x402166
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.msvcrt.dll__strupr]
pop ecx
cmp byte [eax], bl
je 0x40217b
movzx eax, byte [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
mov byte [eax + 0x40ec20], cl
jmp 0x402181
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ecx*4 + 0x4063c0]
mov dword [esi], eax
mov dword [ecx*4 + 0x4063c0], esi
inc ebx
cmp ebx, 0x100
jl 0x4020b5
jmp 0x4020a2
push 0
push 0xa
push 2
call fcn.00405777
pop ecx
push eax
call fcn.00404d63
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
call fcn.00405328
push 2
pop ecx
call fcn.004028c1
int3
Function at 0x404d63
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x300c
call fcn.00405850
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
mov dword [ebp - 0x300c], eax
mov edi, 0x1000
lea eax, [ebp - 0x300c]
push eax
push edi
lea eax, [ebp - 0x1004]
push eax
push 0
push dword [ebp + 0xc]
push 0
push 0x800
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageA]
mov dword [ebp - 0x3008], eax
test eax, eax
je 0x404e53
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0x2000
lea eax, [ebp - 0x3004]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x404e45
push dword [ebp - 0x3008]
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x3008]
push eax
push 0xfff
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeToOemN]
test eax, eax
js 0x404e37
mov eax, dword [ebp - 0x3008]
cmp eax, edi
jae 0x404e75
mov byte [ebp + eax - 0x1004], 0
lea eax, [ebp - 0x1004]
push eax
push 0x40126c
push esi
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
jmp 0x404e67
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x401270
jmp 0x404e5f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x401298
jmp 0x404e5f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x4012c8
call dword [sym.imp.ntdll.dll_DbgPrint]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004051e0
leave
ret
call fcn.00405328
int3

Function at 0x405454
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4058f0
call fcn.00405718
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4054b4
cmp eax, 0xffffffff
je 0x4054b4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4054ad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4054ad
cmp edx, 0x10000000
jae 0x4054ad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4054aa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x405520
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40555e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405556
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405560
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405546
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405630
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x405661
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405661
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x405661
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6d464bf6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x6d464c05
pop dword [ebp - 8]
mov eax, 0x801d76a6
add eax, 0xed28d55f
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xd9219f06
add dword [ebp - 0x18], 0x7530a645
mov dword [ebp - 0x14], 0x434d1e42
add dword [ebp - 0x14], 0xeee62e03
mov dword [ebp - 0x10], 0x5fca2a48
add dword [ebp - 0x10], 0xec8219e6
mov dword [ebp - 0xc], 0x7b17dff8
add dword [ebp - 0xc], 0x84e82008
lea eax, [ebp - 0x18]
push eax
mov eax, 0x9457d90c
add eax, 0xd8eeb744
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x60503521
sub dword [ebp - 0x18], 0xebddcbcb
mov dword [ebp - 0x14], 0x9c921a31
add dword [ebp - 0x14], 0xa4da4744
mov dword [ebp - 0x10], 0x985df332
add dword [ebp - 0x10], 0xcb11793a
mov dword [ebp - 0xc], 0xd798906f
add dword [ebp - 0xc], 0x28676f91
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x38d1f
push 0
call eax
mov ecx, 0x6041465
add ecx, 0xf9fc3a41
mov edi, eax
mov ebx, 0xef92b3cf
add ebx, 0x7db43431
add ebx, dword [ebp - 8]
mov esi, 0x1d1d6a58
sub esi, 0xfaba3e54
xor dword [ebp - 4], edx
mov edx, dword [ebx]
sub dword [ebp - 4], ebx
xor edx, esi
mov dword [edi], edx
mov dword [ebp - 4], 0x5c39039
add edi, 4
add ebx, 0xc233a480
add ebx, 0x3dcc5b84
loop 0x6d464d22
add eax, 0x586382de
add eax, 0xa79daa8d
xor ebx, ebx
add ebx, eax
add eax, 0x4a1d888e
add eax, 0xb5e27777
mov ecx, 0x1f8f0b31
sub ecx, 0xb2490b31
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x6d4678c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d4678ce
repz ret
jmp fcn.6d467caf
Function at 0x405eab
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x42c55c], esi
push edi
jne 0x405ee5
mov ecx, 0x42c558
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ec1
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x42c958
jl 0x405ebc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405f1a
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c558]
xor eax, esi
inc ecx
dec edx
jne 0x405efd
pop edi
pop esi
not eax
ret 0xc

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3b67474
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x783f402e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x642c7df9
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x642c9004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [section..data]
mov esi, section..data
mov edi, 0x642c1ed8
cmp eax, esi
je 0x642c7e3d
test byte [eax + 0x1c], 2
je 0x642c7e3d
cmp byte [eax + 0x19], 5
jb 0x642c7e3d
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c2001
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x642c7ea1
mov eax, dword [section..data]
cmp eax, esi
je 0x642c7e9d
test byte [eax + 0x1c], 2
je 0x642c7e9d
cmp byte [eax + 0x19], 2
jb 0x642c7e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c5545
xor eax, eax
jmp 0x642c7eab
cmp dword [ebp - 0x114], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.642c51c5
leave
ret
Function at 0xa22058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a221a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa2207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2206a
add dl, dl
jne 0xa22089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa220dc
xor eax, eax
add dl, dl
jne 0xa22096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2217d
add dl, dl
jne 0xa220a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa220b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa220bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa220c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa220d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa22075
mov eax, 1
add dl, dl
jne 0xa220ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa220f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa220e1
sub eax, ebx
mov ebx, 1
jne 0xa22128
mov ecx, 1
add dl, dl
jne 0xa2210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa22119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa22105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa22075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa2213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa22136
cmp eax, 0x7d00
jae 0xa2216d
cmp eax, 0x500
jb 0xa22168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa22075
cmp eax, 0x7f
ja 0xa22170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa22075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa2219e
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 0xa22075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40c4b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4891ab
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.0047dff0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c532
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047bd6a
mov eax, dword [eax]
push 0x5adcc8
push eax
call fcn.0046df84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e27b
test bl, bl
je 0x40c532
push 0x5adcc8
lea ecx, [esp + 0xc]
call fcn.0047e60b
push 0x5adcd4
lea ecx, [esp + 0xc]
call fcn.0047e60b
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 0x40c56e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e27b
jmp 0x40c639
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 0x40c5f2
lea edx, [esp + 0x7c]
push 0x5adcd0
push edx
call fcn.0046df84
add esp, 8
test eax, eax
je 0x40c5f2
lea eax, [esp + 0x7c]
push 0x5adccc
push eax
call fcn.0046df84
add esp, 8
test eax, eax
je 0x40c5f2
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 0x40c582
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.0047e27b
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 0x40ce30
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 0x40ce92
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 0x40cea0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48922b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bbb54]
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 0x40cfd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40cf06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e27b
xor eax, eax
jmp 0x40d04f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e3b8
push esi
lea ecx, [esp + 0xc]
call fcn.0047e647
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 0x40d02d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040ce30
test eax, eax
jne 0x40d02d
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 closesocket
mov ecx, edi
call fcn.0040ce30
test eax, eax
jne 0x40d02d
lea eax, [esp + 0x14]
push 0x5adce4
push eax
call fcn.0046f000
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d00c
lea ecx, [esp + 0x14]
push 0x5adce0
push ecx
call fcn.0046ef80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d00c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d00f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e368
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40cf1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e27b
xor eax, eax
jmp 0x40d04f
mov byte [esi], 0
push 0x5adcdc
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.0047e27b
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