joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047c510
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047c590
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047c590
lea ecx, [esi + 0xc]
call fcn.004928bb
lea ecx, [esi + 0x10]
call fcn.004928bb
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047edc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047edc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047edc0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00492930
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00492930
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x47d608
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4448
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x47d618
call fcn.0047db30
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x47d6fb
cmp byte [edi], 0
je 0x47d6fb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x47d63d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0047c330
test eax, eax
jne 0x47d65d
push 0x650edc
lea ecx, [esi + 0x38]
call fcn.00492a6d
jmp 0x47d6fb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0047c380
test eax, eax
jne 0x47d68c
mov ecx, esi
call fcn.0047c480
push edi
add esi, 0x38
push 0x650eb8
push esi
call fcn.0048fc36
add esp, 0xc
jmp 0x47d6fb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0047e3b0
test eax, eax
je 0x47d6f4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0047d7d0
test eax, eax
jne 0x47d710
push edi
lea eax, [esi + 0x38]
push 0x650e94
push eax
call fcn.0048fc36
add esp, 0xc
mov ecx, esi
call fcn.0047db30
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47d7b8
mov ecx, dword [0x65114c]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0048fc36
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0047c430
test eax, eax
jne 0x47d77a
push 0x650e78
lea ecx, [esi + 0x38]
call fcn.00492a6d
jmp 0x47d78a
push 0xfa
mov ecx, esi
call fcn.0047e3b0
test eax, eax
jne 0x47d7a7
mov ecx, esi
call fcn.0047db30
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00492930
jmp 0x47d6fb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00492930
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x494ce9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x494d21
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.00492d8b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00492d63
jmp 0x494d2d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4964e4
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 0x496526
call fcn.0049cac8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x496526
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49651d
xor eax, eax
jmp 0x49652e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00496534
pop edi
pop esi
pop ebx
ret 4

Function at 0x49cff8
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 0x49d026
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49d044
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049cf5e
jmp 0x49d044
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49d044
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049cf5e
test edi, edi
mov eax, edi
jne 0x49d02e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404027
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407a60
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x40405d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], 0xc8
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xcc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x4040c1
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00413f39
jmp 0x4040ce
push 0x4e4a20
mov ecx, dword [ebp + 0xc]
call fcn.00413f39
mov eax, dword [ebp - 0xd4]
mov esp, ebp
pop ebp
ret 8

Function at 0x404b69
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x83c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp + 8]
add edx, 0x81c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0xc], 0
je 0x404c5e
mov eax, dword [ebp + 8]
mov dword [eax + 0x854], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x858], 0
push 0xf
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ecx, dword [ebp + 8]
add ecx, 0x84c
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x898]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x894]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e5
je 0x404c2f
jmp 0x404c3f
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x404c4c
push str.WriteFile__
mov ecx, dword [ebp + 8]
call fcn.00404ad1
jmp 0x404c5e
mov ecx, dword [ebp + 8]
add ecx, 0x81c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
jne 0x404caf
mov dword [ebp - 0xc], 1
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x84c
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0x81c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 8], 0
jne 0x404caf
push str.GetOverlappedResults___in_WriteFile__
mov ecx, dword [ebp + 8]
call fcn.00404ad1
mov esp, ebp
pop ebp
ret
Function at 0x404cb3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x404e7d
mov ecx, dword [ebp + 8]
add ecx, 0x81c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0x81c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x10], 0
jne 0x404d2e
jmp 0x404e7d
mov ecx, dword [ebp + 8]
add ecx, 0x81c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 4], 0
je 0x404dfe
mov edx, dword [ebp + 8]
mov eax, 0x800
sub eax, dword [edx + 0x10]
cmp dword [ebp + 0x10], eax
jbe 0x404d68
mov ecx, dword [ebp + 8]
mov edx, 0x800
sub edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x404d6e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 0x84c
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
add eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x800
div ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x404df7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0x3e5
je 0x404ddf
jmp 0x404de8
mov dword [ebp - 4], 0
jmp 0x404df5
push str.ReadFile__
mov ecx, dword [ebp + 8]
call fcn.00404ad1
jmp 0x404dfe
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x404e40
mov dword [ebp - 4], 1
push 1
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0x84c
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404e40
push str.GetOverlappedResults___in_ReadFile__
mov ecx, dword [ebp + 8]
call fcn.00404ad1
mov eax, dword [ebp + 8]
add eax, 0x81c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 8], 0
jbe 0x404e78
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x890]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x407
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x404cdc
mov esp, ebp
pop ebp
ret

Function at 0x4050c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x4050e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret

Function at 0x40d715
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4e44f8
cmp edx, dword [eax]
je 0x40d737
add eax, 8
inc ecx
cmp eax, 0x4e4588
jl 0x40d728
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4e44f8]
jne 0x40d865
mov eax, dword [0x4e6a74]
cmp eax, 1
je 0x40d83f
test eax, eax
jne 0x40d768
cmp dword [0x4e3c94], 1
je 0x40d83f
cmp edx, 0xfc
je 0x40d865
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d79f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407970
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407a60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40d7e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407a60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x433cd0
push edi
call fcn.00407ae0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407970
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407980
lea eax, [ebp - 0xa0]
push 0x433cb0
push eax
call fcn.00407980
push dword [esi + 0x4e44fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407980
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040f2bb
add esp, 0x2c
pop edi
jmp 0x40d865
lea eax, [ebp + 8]
lea esi, [esi + 0x4e44fc]
push 0
push eax
push dword [esi]
call fcn.00407a60
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 0x412462
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0042b142
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x412493
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004124a6
pop edi
pop esi
pop ebx
ret 8

Function at 0x415493
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4154cb
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.004141e3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004141bb
jmp 0x4154d7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x417096
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 0x4170d8
call fcn.0042b142
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4170d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4170cf
xor eax, eax
jmp 0x4170e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004170e6
pop edi
pop esi
pop ebx
ret 4
Function at 0x42b56d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0042b142
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42b5aa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42b5aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x42b5ae
xor eax, eax
jmp 0x42b62c
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00417875
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x42b5e6
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x42b5d0
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0042b71d
push ebx
mov edi, eax
call fcn.0041789e
test edi, edi
pop ecx
je 0x42b628
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0042b4e6
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0042b631
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4f5c04e0
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f314
mov ecx, 0x73233ac4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40f400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a266b
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.00496058
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f482
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00493144
mov eax, dword [eax]
push 0x5fb220
push eax
call fcn.00484d74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004962e3
test bl, bl
je 0x40f482
push 0x5fb220
lea ecx, [esp + 0xc]
call fcn.00496673
push 0x5fedb8
lea ecx, [esp + 0xc]
call fcn.00496673
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 0x40f4be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004962e3
jmp 0x40f589
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 0x40f542
lea edx, [esp + 0x7c]
push 0x5fedb4
push edx
call fcn.00484d74
add esp, 8
test eax, eax
je 0x40f542
lea eax, [esp + 0x7c]
push 0x5fedb0
push eax
call fcn.00484d74
add esp, 8
test eax, eax
je 0x40f542
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 0x40f4d2
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.004962e3
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 0x4107e0
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 0x410842
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 0x410850
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a27cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x60c29c]
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 0x410988
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4108b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004962e3
xor eax, eax
jmp 0x4109ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00496420
push esi
lea ecx, [esp + 0xc]
call fcn.004966af
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5fedf0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4109dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004107e0
test eax, eax
jne 0x4109dd
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.004107e0
test eax, eax
jne 0x4109dd
lea eax, [esp + 0x14]
push 0x5fedcc
push eax
call fcn.00485db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4109bc
lea ecx, [esp + 0x14]
push 0x5fedc8
push ecx
call fcn.00485d30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4109bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4109bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004963d0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4108ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004962e3
xor eax, eax
jmp 0x4109ff
mov byte [esi], 0
push 0x5fedc4
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.004962e3
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