joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x18]
or esi, 0xffffffff
mov dword [ebp - 4], 0
mov eax, dword [edi]
test eax, eax
je 0x100055a8
push eax
call fcn.1000805b
add esp, 4
mov dword [edi], 0
push ebx
push 0x1002fac8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005310
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10005632
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10005632
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.10009cf3
mov dword [edi], eax
add esp, 4
mov dword [ebp + 0x18], eax
mov byte [eax], 0
mov ecx, dword [ebp - 4]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 4]
mov byte [eax + ecx + 1], 0
lea eax, [ebp - 4]
push eax
push dword [edi]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 0
mov esi, eax
jne 0x10005632
push 0x1002fab2
call fcn.10009474
push dword [ebp + 0x18]
call fcn.1000805b
add esp, 8
mov ecx, dword [ebp + 0x1c]
pop ebx
test ecx, ecx
je 0x1000563f
mov eax, dword [ebp - 4]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10038198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x54], eax
or edi, 0xffffffff
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
lea ebx, [ebx]
movzx eax, word [ecx + 0x1002facc]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1a], ax
test ax, ax
jne 0x10005950
lea eax, [ebp - 0x18]
push eax
call fcn.10005770
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.10006720
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10005a55
push esi
call fcn.1000a669
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], eax
push ecx
push eax
call fcn.1000a68d
add esp, 0xc
test eax, eax
jne 0x10005a55
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
lea eax, [eax*2 - 2]
cdq
mov edi, eax
cmp ecx, edx
jg 0x100059c5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
jl 0x100059cf
cmp eax, edi
jb 0x100059cf
mov eax, edi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
mov ecx, edx
push 0
push 2
push ecx
push eax
call fcn.1000add0
mov ecx, dword [ebp - 0x54]
mov edi, eax
mov eax, dword [ebp - 0x58]
neg eax
push 2
adc ecx, 0
neg ecx
push ecx
push eax
push dword [ebp - 0x60]
call fcn.1000aa14
mov eax, dword [ebp - 0x58]
add eax, 2
push eax
call fcn.10009cf3
push esi
push dword [ebp - 0x58]
mov dword [ebx], eax
push 1
push eax
call fcn.100071cb
mov eax, dword [ebx]
xor ecx, ecx
add esp, 0x24
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x5c]
cmp edi, eax
jle 0x10005a51
mov ebx, dword [ebx]
push eax
push 0xa
push ebx
call fcn.10006ba0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10005a51
sub eax, ebx
sar eax, 1
sub edi, eax
cmp edi, dword [ebp - 0x5c]
jle 0x10005a51
lea eax, [edi + edi]
push eax
lea eax, [ecx + 2]
push eax
push ebx
call fcn.10008e10
add esp, 0xc
xor edi, edi
jmp 0x10005a6a
mov eax, dword [ebx]
test eax, eax
je 0x10005a6a
push eax
call fcn.1000805b
add esp, 4
mov dword [ebx], 0
test esi, esi
je 0x10005a77
push esi
call fcn.1000a5f2
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100081f8
mov esp, ebp
pop ebp
ret

Function at 0x10005b30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x10005b40
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
push esi
push edi
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp + 0xc]
mov ebx, eax
push 1
lea edi, [ecx*4]
lea ecx, [edi + 4]
push ecx
call fcn.1000801b
push edi
mov esi, eax
push ebx
push esi
call fcn.1000aeb0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret
Function at 0x10005ba0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1003800c]
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x10005be1
mov esi, dword [0x10038008]
mov ebx, eax
mov eax, dword [0x10038014]
mov edi, dword [0x10038010]
mov edx, dword [0x10038018]
mov ecx, dword [0x1003801c]
mov dword [ebp - 4], eax
jmp 0x10005cbb
cmp dword [0x10039a08], ebx
jne 0x10005c06
push 0x10039a08
mov dword [0x10039a08], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10005c92
mov ebx, dword [0x10039a0c]
mov eax, dword [0x10039a14]
mov edi, dword [0x10039a10]
mov edx, dword [0x10039a18]
movzx ecx, word [0x10039b1c]
mov dword [ebp - 4], eax
cmp ebx, 0xa
jg 0x10005c8b
jne 0x10005c39
test edi, edi
jns 0x10005c8b
mov esi, 6
jmp 0x10005c98
cmp ebx, 6
jg 0x10005c32
jne 0x10005c68
cmp edi, 3
jge 0x10005c32
cmp edi, 2
jge 0x10005c61
cmp edi, 1
jge 0x10005c5a
test edi, edi
js 0x10005c84
mov esi, 3
jmp 0x10005c98
mov esi, 4
jmp 0x10005c98
mov esi, 5
jmp 0x10005c98
cmp ebx, 5
jg 0x10005c84
jne 0x10005c98
cmp edi, 2
jge 0x10005c84
cmp edi, 1
jge 0x10005c84
test edi, edi
js 0x10005c98
mov esi, 1
jmp 0x10005c98
mov esi, 2
jmp 0x10005c98
mov esi, 7
jmp 0x10005c98
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [0x10038008], esi
mov dword [0x1003800c], ebx
mov dword [0x10038010], edi
mov dword [0x10038014], eax
mov dword [0x10038018], edx
mov dword [0x1003801c], ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x10005cc4
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10005ccd
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10005cd6
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10005ce2
mov esi, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10005cee
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10005cf7
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10005d00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10038008]
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x10005e17
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [0x1003800c], eax
jne 0x10005e14
cmp dword [0x10039a08], ebx
jne 0x10005d57
push 0x10039a08
mov dword [0x10039a08], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10005de6
mov eax, dword [0x10039a14]
mov ebx, dword [0x10039a0c]
mov edi, dword [0x10039a10]
mov dword [ebp - 4], eax
mov eax, dword [0x10039a18]
mov dword [ebp - 8], eax
movzx eax, word [0x10039b1c]
mov dword [ebp - 0xc], eax
cmp ebx, 0xa
jg 0x10005de1
jne 0x10005d8f
test edi, edi
jns 0x10005de1
mov esi, 6
jmp 0x10005de6
cmp ebx, 6
jg 0x10005d88
jne 0x10005dbe
cmp edi, 3
jge 0x10005d88
cmp edi, 2
jge 0x10005db7
cmp edi, 1
jge 0x10005db0
test edi, edi
js 0x10005dda
mov esi, 3
jmp 0x10005de6
mov esi, 4
jmp 0x10005de6
mov esi, 5
jmp 0x10005de6
cmp ebx, 5
jg 0x10005dda
jne 0x10005de6
cmp edi, 2
jge 0x10005dda
cmp edi, 1
jge 0x10005dda
test edi, edi
js 0x10005de6
mov esi, 1
jmp 0x10005de6
mov esi, 2
jmp 0x10005de6
mov esi, 7
mov ecx, dword [ebp - 4]
mov eax, esi
mov dword [0x10038014], ecx
mov ecx, dword [ebp - 8]
mov dword [0x10038018], ecx
mov ecx, dword [ebp - 0xc]
mov dword [0x10038008], eax
mov dword [0x1003800c], ebx
mov dword [0x10038010], edi
mov dword [0x1003801c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100060b0
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.1000ae80
mov eax, dword [0x10038198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov eax, dword [edi]
test eax, eax
je 0x100060fc
push eax
call fcn.1000805b
add esp, 4
mov dword [edi], 0
xor ecx, ecx
mov edi, edi
movzx eax, word [ecx + 0x1002fb98]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1a], ax
test ax, ax
jne 0x10006100
lea eax, [ebp - 0x18]
push eax
call fcn.10005770
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.10006720
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10006235
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000622c
lea eax, [ebp - 0x101c]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x1020]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000622c
push esi
push 0x1000
lea eax, [ebp - 0x1018]
push 1
push eax
call fcn.100071cb
add esp, 0x10
mov dword [ebp - 0x1024], eax
test eax, eax
jle 0x100061da
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
push 0
push eax
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x101c]
call ebx
test eax, eax
je 0x10006229
push esi
push 0x1000
lea eax, [ebp - 0x1018]
push 1
push eax
call fcn.100071cb
add esp, 0x10
mov dword [ebp - 0x1024], eax
test eax, eax
jg 0x100061a0
or ebx, 0xffffffff
push 1
push 0x14
mov dword [ebp - 0x1024], 0x14
call fcn.1000801b
add esp, 8
mov dword [edi], eax
lea ecx, [ebp - 0x1024]
push 0
push ecx
push eax
push 2
push dword [ebp - 0x101c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x10006225
mov eax, dword [edi]
test eax, eax
je 0x1000622c
push eax
call fcn.1000805b
add esp, 4
mov dword [edi], 0
jmp 0x1000622c
xor ebx, ebx
jmp 0x1000622c
or ebx, 0xffffffff
push esi
call fcn.1000a5f2
add esp, 4
mov eax, dword [ebp - 0x1020]
test eax, eax
je 0x10006248
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x101c]
test ecx, ecx
je 0x10006259
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100081f8
mov esp, ebp
pop ebp
ret
Function at 0x10006270
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0x10]
push edi
or edi, 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x100062a1
push eax
call fcn.1000805b
add esp, 4
mov dword [esi], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000632d
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000632d
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000632d
push 1
push 0x14
mov dword [ebp + 0xc], 0x14
call fcn.1000801b
add esp, 8
mov dword [esi], eax
lea ecx, [ebp + 0xc]
push 0
push ecx
push eax
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1000632b
mov eax, dword [esi]
test eax, eax
je 0x1000632d
push eax
call fcn.1000805b
add esp, 4
mov dword [esi], 0
jmp 0x1000632d
xor edi, edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000633d
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000634b
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 1
push 0x14
call fcn.1000801b
mov ecx, dword [ebp + 8]
mov esi, eax
push 0
push 0
push esi
mov dword [ecx], esi
mov ecx, dword [ebp + 0xc]
push 0x10006990
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
push 0
push 0
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 2
call fcn.1000ab83
mov dword [esi], eax
add esp, 0x20
neg eax
sbb eax, eax
neg eax
dec eax
pop esi
pop ebp
ret

Function at 0x100063e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x402051
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x409630
push 0xffffffffffffffff
push 0x424456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.004224b6
lea ecx, [esi + 0x200]
mov dword [esp + 0x14], 0
call fcn.00421ec2
lea ecx, [esi + 0x204]
mov byte [esp + 0x14], 1
call fcn.00421ec2
mov edx, dword [esi + 0x94]
mov ecx, dword [esp + 0xc]
or edx, 0x200040
mov dword [esi + 0x1fc], edi
xor edx, 0x80000
mov dword [esi], 0x429bd8
mov dword [esi + 0x94], edx
mov dword [esi + 0xa8], 0xba
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x402673
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
jmp 0x4091f0
push 0xffffffffffffffff
push 0x424428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [0x435ce0]
lea ecx, [esp + 0x20]
call fcn.00422468
push 0
mov dword [esp + 0x3c], 0
call dword [0x435cf0]
push eax
lea ecx, [esp + 0x24]
call fcn.00422462
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esi + 0xec]
push 0x5a0049
sub edx, ecx
push 2
push edx
mov edx, dword [esi + 0xe8]
mov eax, edi
mov ecx, ebx
sub eax, ebp
mov ebp, dword [0x434f94]
sub ecx, edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edx, dword [esp + 0x18]
push 0x5a0049
push eax
mov eax, dword [esi + 0xec]
mov ecx, edi
sub ecx, eax
push 2
push ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
sub edx, ecx
mov ecx, dword [esi + 0xe8]
add edx, ebx
sub edx, ecx
push edx
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x1c]
push 0x5a0049
add ecx, 2
push 2
push ecx
mov ecx, dword [esp + 0x20]
mov eax, ebx
sub edx, ecx
mov ecx, dword [esi + 0xec]
add edx, edi
sub edx, ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esi + 0xe8]
sub eax, edx
push eax
push ecx
call ebp
push 0x5a0049
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub edx, ecx
mov eax, dword [esp + 0x28]
sub edx, 2
push edx
mov edx, dword [esi + 0xec]
sub edi, edx
push 2
add edi, 2
push edi
mov edi, dword [esi + 0xe8]
sub ebx, edi
push ebx
push eax
call ebp
lea ecx, [esp + 0x20]
call fcn.0042245c
push eax
push 0
call dword [0x435cf4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.00422456
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8
Function at 0x41febe
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x41fea0
push 0xffffffffffffffff
push 0x426e1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.004224b6
lea edi, [esi + 0x1fc]
mov dword [esp + 0x14], 0
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.00421ec2
lea ecx, [edi + 4]
mov byte [esp + 0x14], 1
call fcn.00421ec2
lea edi, [esi + 0x204]
mov byte [esp + 0x14], 2
mov ecx, edi
call fcn.00421ec2
mov eax, dword [esi + 0x94]
push 0x432d74
or eax, 0x200040
mov ecx, edi
xor eax, 0x80000
mov byte [esp + 0x18], 3
mov dword [esi], 0x42d108
mov dword [esi + 0x94], eax
mov dword [esi + 0xa8], 0x77
mov dword [esi + 0x90], 0x432d64
call fcn.00422072
push 0
mov ecx, edi
call fcn.00422a74
push 0x4329c4
mov ecx, edi
call fcn.004224da
push 0
mov ecx, edi
call fcn.00422a74
mov ecx, dword [edi]
mov dword [esi + 0x78], 1
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x18
Function at 0x409220
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x473e8b
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.00468b7b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4092a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00466aca
mov eax, dword [eax]
push 0x573214
push eax
call fcn.00455fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468e06
test bl, bl
je 0x4092a2
push 0x573214
lea ecx, [esp + 0xc]
call fcn.00469196
push 0x576d78
lea ecx, [esp + 0xc]
call fcn.00469196
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 0x4092de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468e06
jmp 0x4093a9
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 0x409362
lea edx, [esp + 0x7c]
push 0x576d74
push edx
call fcn.00455fb4
add esp, 8
test eax, eax
je 0x409362
lea eax, [esp + 0x7c]
push 0x576d70
push eax
call fcn.00455fb4
add esp, 8
test eax, eax
je 0x409362
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 0x4092f2
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.00468e06
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 0x409ba0
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 0x409c02
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 0x409c10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x473f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5819fc]
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 0x409d48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409c76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468e06
xor eax, eax
jmp 0x409dbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468f43
push esi
lea ecx, [esp + 0xc]
call fcn.004691d2
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 0x409d9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409ba0
test eax, eax
jne 0x409d9d
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.00409ba0
test eax, eax
jne 0x409d9d
lea eax, [esp + 0x14]
push 0x576d8c
push eax
call fcn.00457080
mov esi, eax
add esp, 8
test esi, esi
jne 0x409d7c
lea ecx, [esp + 0x14]
push 0x576d88
push ecx
call fcn.00457000
mov esi, eax
add esp, 8
test esi, esi
jne 0x409d7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409d7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468ef3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409c8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468e06
xor eax, eax
jmp 0x409dbf
mov byte [esi], 0
push 0x576d84
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.00468e06
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