joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dc90
Capabilities:
Check os version
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x48c61b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4b37f8]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov eax, dword [0x4b37f8]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x138]
mov esi, dword [esp + 0x140]
push eax
mov dword [0x4b5764], esi
call fcn.00401221
mov dword [0x4b5768], eax
add esp, 4
mov ecx, 0x49782c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40dd17
test dx, dx
je 0x40dd13
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40dd17
add eax, 4
add ecx, 4
test dx, dx
jne 0x40dcf1
xor eax, eax
jmp 0x40dd1c
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
push 0x110
lea edx, [esp + 0x18]
push 0
push edx
mov dword [0x4b578c], ecx
call fcn.00442c50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 6
sbb eax, eax
add eax, 1
mov dword [0x4b5790], eax
je 0x40dd86
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40dd86
push str.ChangeWindowMessageFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dd86
push 1
push 0x4a
call eax
push 0x20019
push 0
push SysFreeString
lea ecx, [esp + 0x14]
call fcn.004010be
mov dword [esp + 0x130], 0
push 0
call fcn.004013cf
add esp, 4
mov ecx, 0x4b5764
mov dword [0x4b5778], eax
call fcn.004014c9
test eax, eax
jne 0x40dddb
mov dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 8]
call fcn.004011bd
xor eax, eax
jmp 0x40de1d
push 0
push 0
push 0x401159
call fcn.00444f75
add esp, 0xc
cmp eax, 0xffffffff
je 0x40ddc3
mov ecx, 0x4b5764
call fcn.0040100f
mov ecx, 0x4b5764
call fcn.004014ce
mov esi, eax
mov dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 8]
call fcn.004011bd
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00442c3a
add esp, 0x12c
ret 0x10
Function at 0x416658
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x48cdc3
call fcn.00445be1
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411083
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4166ba
call fcn.0041497b
cmp eax, 1
jne 0x4166ba
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00415e23
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004124ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401479
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401479
mov eax, esi
call fcn.00445cb9
ret 0x10

Function at 0x4166e3
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x48cdee
call fcn.00445be1
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411083
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x416745
call fcn.0041497b
cmp eax, 1
jne 0x416745
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00415e23
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004124ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401479
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401479
mov eax, esi
call fcn.00445cb9
ret 0x14

Function at 0x416771
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x48ce19
call fcn.00445be1
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411083
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4167d3
call fcn.0041497b
cmp eax, 1
jne 0x4167d3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00415e23
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004124ca
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401479
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401479
mov eax, esi
call fcn.00445cb9
ret 8
Function at 0x4204cb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48d863
call fcn.00445be1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4204f0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x420536
lea ecx, [ebp - 0x10]
call fcn.00410a77
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040fb2a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401479
mov eax, esi
call fcn.00445cb9
ret 8

Function at 0x429bca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x429c11
call fcn.004155a8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x429c11
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x429c2d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00429742
mov esi, eax
test edi, edi
je 0x429c2b
test ebx, ebx
je 0x429c2b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42fe7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42fea0
cmp dword [edi + 0x54], 0
jne 0x42fea0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004155a8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042fe3d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x442c3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b37f8]
jne 0x442c44
repz ret
jmp fcn.0044adb0
Function at 0x46979b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044c35e
and dword [ebp - 4], 0
cmp dword [0x4b8a14], 0
mov ebx, eax
jne 0x46984c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4698fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4698fd
push eax
call fcn.0044c2ec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b8a14], eax
call esi
push eax
call fcn.0044c2ec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b8a18], eax
call esi
push eax
call fcn.0044c2ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b8a1c], eax
call esi
push eax
call fcn.0044c2ec
pop ecx
mov dword [0x4b8a24], eax
test eax, eax
je 0x46984c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044c2ec
pop ecx
mov dword [0x4b8a20], eax
mov eax, dword [0x4b8a20]
cmp eax, ebx
je 0x4698a4
cmp dword [0x4b8a24], ebx
je 0x4698a4
push eax
call fcn.0044c367
push dword [0x4b8a24]
mov esi, eax
call fcn.0044c367
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4698a4
test edi, edi
je 0x4698a4
call esi
test eax, eax
je 0x46989b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46989b
test byte [ebp - 0xc], 1
jne 0x4698a4
or dword [ebp + 0x10], 0x200000
jmp 0x4698dd
mov eax, dword [0x4b8a18]
cmp eax, ebx
je 0x4698dd
push eax
call fcn.0044c367
pop ecx
test eax, eax
je 0x4698dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4698dd
mov eax, dword [0x4b8a1c]
cmp eax, ebx
je 0x4698dd
push eax
call fcn.0044c367
pop ecx
test eax, eax
je 0x4698dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b8a14]
call fcn.0044c367
pop ecx
test eax, eax
je 0x4698fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4698ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4216f2
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x421729
mov esp, ebp
pop ebp
ret

Function at 0x428341
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42835f
mov eax, 0x5094b2
push eax
push 1
mov ebx, 0x432890
call fcn.004321dd
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x428389
mov eax, 0
jmp 0x4283fd
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4283ea
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4283d3
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4283c2
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4283b3
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x42cc75
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x42cc96
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x42cc8d
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x42cc85
mov eax, ebx
leave
ret

Function at 0x42ccbc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x42cd1b
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x42cd48
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x42cd37
xor ecx, eax
xor edx, ebx
dec edi
jne 0x42cd28
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x42cd6e
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x42cd0f
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x42d3ed
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x42d3fd
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x42d50b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0042d51b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x42d50b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0042d51b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x42d50b
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0042d51b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42d50b
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x42d508
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0042d52e
test eax, eax
je 0x42d4f7
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0042d562
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x42d4b2
add esp, 0xc
mov eax, 0
jmp 0x42d515
mov esp, ebp
pop ebp
ret 8
Function at 0x42e39b
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x42e3bc
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x42e3b3
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x42e3ab
mov eax, ebx
leave
ret

Function at 0x42e3e2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x42e441
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x42e46e
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x42e45d
xor ecx, eax
xor edx, ebx
dec edi
jne 0x42e44e
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x42e494
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x42e435
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x42eb13
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x42eb23
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x42ec31
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0042ec41
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x42ec31
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0042ec41
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x42ec31
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0042ec41
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42ec31
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x42ec2e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0042ec54
test eax, eax
je 0x42ec1d
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0042ec88
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x42ebd8
add esp, 0xc
mov eax, 0
jmp 0x42ec3b
mov esp, ebp
pop ebp
ret 8
Function at 0x4407c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5002ab
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.004f474e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x440842
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f2335
mov eax, dword [eax]
push 0x5f4248
push eax
call fcn.004e0624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f49d9
test bl, bl
je 0x440842
push 0x5f4248
lea ecx, [esp + 0xc]
call fcn.004f4d69
push 0x5f7de8
lea ecx, [esp + 0xc]
call fcn.004f4d69
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 0x44087e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f49d9
jmp 0x440949
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 0x440902
lea edx, [esp + 0x7c]
push 0x5f7de4
push edx
call fcn.004e0624
add esp, 8
test eax, eax
je 0x440902
lea eax, [esp + 0x7c]
push 0x5f7de0
push eax
call fcn.004e0624
add esp, 8
test eax, eax
je 0x440902
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 0x440892
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.004f49d9
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 0x441140
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 0x4411a2
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 0x4411b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50032b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6b8474]
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 0x4412e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x441216
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f49d9
xor eax, eax
jmp 0x44135f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004f4b16
push esi
lea ecx, [esp + 0xc]
call fcn.004f4da5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5f7e20
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44133d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00441140
test eax, eax
jne 0x44133d
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 bind
mov ecx, edi
call fcn.00441140
test eax, eax
jne 0x44133d
lea eax, [esp + 0x14]
push 0x5f7dfc
push eax
call fcn.004e1860
mov esi, eax
add esp, 8
test esi, esi
jne 0x44131c
lea ecx, [esp + 0x14]
push 0x5f7df8
push ecx
call fcn.004e17e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44131c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44131f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004f4ac6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44122e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f49d9
xor eax, eax
jmp 0x44135f
mov byte [esi], 0
push 0x5f7df4
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.004f49d9
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