joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x416dcf
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x416df1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x416de0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x416e1b
mov eax, ebx
jmp 0x416e1f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x416e9e
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov ecx, edi
jb 0x416e30
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x416e46
mov eax, dword [eax]
cmp edx, dword [ebp - 4]
jne 0x416e5a
push edx
push ecx
push eax
call fcn.00416cd0
add esp, 0xc
test eax, eax
je 0x416e64
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x416e13
cmp dword [ebp - 0x10], 8
lea eax, [esi + 8]
jb 0x416e6f
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x416e77
mov edi, dword [edi]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jne 0x416e8e
push ecx
push eax
push edi
call fcn.00416cd0
add esp, 0xc
test eax, eax
je 0x416e90
mov esi, ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ab80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x74]
mov ecx, esi
call fcn.00414790
push eax
mov ecx, esi
call fcn.00414a40
cdq
push edx
push eax
call fcn.0042f960
add esp, 8
test eax, eax
je 0x41ad20
movzx ecx, di
sub ecx, 0x3e9
je 0x41ad0f
sub ecx, 1
je 0x41acf1
sub ecx, 1
jne 0x41ad20
mov ebx, dword [ebx + 4]
lea ecx, [ebp - 0x2c]
add eax, 0x294
push eax
call fcn.00413d30
mov edi, eax
mov dword [ebp - 0x30], 0
nop dword [eax]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41ac81
call fcn.004357b7
add eax, 0x7a120
push 0
push 0x64
adc edx, 0
push edx
push eax
call fcn.0044ec20
push 0
push 0x3b9aca00
mov esi, eax
push edx
push esi
call fcn.0044eb70
mov dword [ebp - 0x40], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x3c], edx
sub esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], esi
movups xmm0, xmmword [ebp - 0x40]
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.00435948
mov esi, dword [ebp - 0x30]
add esp, 4
inc esi
mov dword [ebp - 0x30], esi
cmp esi, 0xa
jl 0x41ac00
lea ecx, [ebp - 0x2c]
call fcn.0040af00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x10]
lea eax, [eax*2 + 4]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [edi + 0x14], 8
mov esi, eax
mov ecx, dword [edi + 0x10]
jb 0x41aca1
mov edi, dword [edi]
lea ecx, [ecx*2 + 4]
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x2c]
call fcn.0040af00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
push dword [eax + 0x68]
call fcn.0042ec80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
push dword [eax + 0x74]
push dword [eax + 0x70]
push dword [eax + 0x68]
call fcn.004305e0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
Function at 0x41bd50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ecx + 0x14], 8
jb 0x41bd71
mov ecx, dword [ecx]
push 0x100
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
test eax, eax
cmovne esi, dword [ebp - 0x2b8]
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0044edeb
mov esp, ebp
pop ebp
ret

Function at 0x41bdb0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x41bf80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cc58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4771ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [ebp - 0xd]
inc eax
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413e50
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub eax, edi
sar eax, 1
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00413d30
test edi, edi
je 0x41c017
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41c00d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c02c
push ecx
push edi
call fcn.0044eddd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004503b0
int3
Function at 0x41cc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x41cc6b
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x41cc87
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x41cc76
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x41ccc0
cmp ecx, eax
jne 0x41ccb8
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x41ccc8
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x41ccc8
cmp ecx, eax
jne 0x41ccc8
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
lea ecx, [ebx + 4]
mov edi, dword [eax]
push eax
mov dword [edx], edi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.0041da70
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41d850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x48]
push dword [eax + 0x9c]
push dword [eax + 0x98]
call fcn.0042f960
mov edi, eax
add esp, 8
test edi, edi
je 0x41d87d
mov eax, dword [edi + 0x68]
jmp 0x41d87f
xor eax, eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [0x47ab38], eax
mov dword [esi], str.HostHWND
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 8]
cdq
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], str.toclipboard
mov eax, dword [ebx + 0x48]
movzx eax, byte [eax + 0xa0]
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], str.current_select
cmp ecx, edi
jne 0x41d8c9
mov eax, 1
xor edx, edx
jmp 0x41d8d7
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], str.text_number
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], str.process_id
mov eax, dword [ecx + 0x68]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], str.hook_address
mov eax, dword [ecx + 0x70]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], str.text_handle
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x68], eax
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x6c], eax
lea eax, [ecx + 0x50]
mov dword [esi + 0x70], str.text_name
cmp dword [eax + 0x14], 8
jb 0x41d93c
mov eax, dword [eax]
cdq
xor ecx, ecx
mov dword [esi + 0x78], eax
xor eax, eax
push 0x50
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xcc], ecx
lea ecx, [esi + 0xf0]
mov dword [esi + 0x7c], edx
xor edx, edx
push eax
push ecx
mov dword [esi + 0x80], str.add_sentence
mov dword [esi + 0x88], 0x41c240
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], str.add_text
mov dword [esi + 0x98], 0x41c2c0
mov dword [esi + 0xa0], str.get_selected_process_id
mov dword [esi + 0xa8], 0x41c2b0
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], str.void__AddSentence__int64_t_number__const_wchar_t_sentence_
mov dword [esi + 0xb8], 0x41c240
mov dword [esi + 0xbc], edx
mov dword [esi + 0xc0], str.void__AddText__int64_t_number__const_wchar_t_text_
mov dword [esi + 0xc8], 0x41c2c0
mov dword [esi + 0xd0], str.DWORD__GetSelectedProcessId___
mov dword [esi + 0xd8], 0x41c2b0
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f6f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d130
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f747
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d5c0
sub esp, 8
mov dword [ebp - 0x30], esi
mov eax, esp
lea ecx, [ebp - 0x30]
mov dword [eax], str.current_select
mov dword [eax + 4], 0xe
call fcn.0041f640
or eax, edx
je 0x41f849
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.process_id
mov dword [eax + 4], 0xa
call fcn.0041f640
or eax, edx
je 0x41f849
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.toclipboard
mov dword [eax + 4], 0xb
call fcn.0041f640
or eax, edx
je 0x41f849
sub esp, 8
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [eax], str.HostHWND
mov dword [eax + 4], 8
call fcn.0041f640
push eax
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41f849
mov eax, dword [ebp - 0x1c]
lea eax, [eax*2 + 4]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 4]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f892
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f875
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f8b0
push edx
push ecx
call fcn.0044eddd
add esp, 8
jmp 0x41f892
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret
call fcn.004503b0
int3
Function at 0x429900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x429931
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x429920
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x42b660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4771ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x44], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
call fcn.004310d0
mov ebx, edx
mov edi, eax
or eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], edi
mov ecx, edi
mov dword [ebp - 0x38], ebx
je 0x42b72b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431400
test eax, eax
mov eax, dword [ebp + 8]
je 0x42b6ff
mov ecx, edi
mov edx, ebx
cmp dword [ebp - 0x18], eax
je 0x42b72b
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431270
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
or ecx, edx
mov dword [ebp - 4], 0
je 0x42b78d
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x42b758
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.0042eac0
jmp 0x42b769
mov ecx, dword [eax + 8]
push edi
push ecx
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x42b78d
push dword [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42b7bd
mov eax, dword [esi + 4]
push ebx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edi
mov dword [ebp - 4], 1
or eax, ebx
je 0x42b817
push 0x4000
push dword [ebp + 8]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431270
mov edx, dword [ebp - 0x18]
jmp 0x42b819
cmp dword [esi + 0x18], 0
je 0x42b7f4
cmp dword [esi + 0x10], 0
je 0x42b7f4
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push 0
push 8
push eax
push ebx
push edi
push dword [esi]
call fcn.004304a0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x42b796
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
jmp 0x42b793
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4771ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 4
push 0x3000
mov dword [ebp - 0x44], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi]
and eax, 0xfffffff8
push eax
push 0
push 0
push ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
call fcn.004310d0
mov ebx, edx
mov edi, eax
or eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], edi
mov ecx, edi
mov dword [ebp - 0x38], ebx
je 0x42b8fb
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431400
test eax, eax
mov eax, dword [ebp + 8]
je 0x42b8cf
mov ecx, edi
mov edx, ebx
cmp dword [ebp - 0x18], eax
je 0x42b8fb
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431270
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
or ecx, edx
mov dword [ebp - 4], 0
je 0x42b95d
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x42b928
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.0042eac0
jmp 0x42b939
mov ecx, dword [eax + 8]
push edi
push ecx
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x42b95d
push dword [esi + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42b98d
mov eax, dword [esi + 4]
push ebx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edi
mov dword [ebp - 4], 1
or eax, ebx
je 0x42b9e7
push 0x4000
push dword [ebp + 8]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00431270
mov edx, dword [ebp - 0x18]
jmp 0x42b9e9
cmp dword [esi + 0x18], 0
je 0x42b9c4
cmp dword [esi + 0x10], 0
je 0x42b9c4
xorps xmm0, xmm0
push ebx
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push 0
push 8
push eax
push ebx
push edi
push dword [esi]
call fcn.004304a0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
jmp 0x42b966
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
jmp 0x42b963
mov edx, ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430ee0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e64b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x466b98
push str.kernel32.dll
push ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0
call fcn.0042f060
push edx
push eax
push ebx
call fcn.0042f2f0
mov ecx, dword [0x47abf8]
mov dword [ebp - 0x458], eax
or eax, edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x448], ecx
jne 0x43102c
test ebx, ebx
mov eax, ebx
cmove eax, dword [0x47abf4]
push eax
call dword [0x460518]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x430ff2
push 0x424
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], 0x428
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x430feb
lea eax, [ebp - 0x418]
push str.kernel32.dll
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x43104f
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x430fc2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x440], xmm0
mov eax, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
push 0x466b98
push edx
push eax
push ebx
call fcn.0042f600
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x448], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x43103b
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x460]
call fcn.0042a920
or eax, edx
je 0x43105f
mov bl, 1
jmp 0x431061
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
cdq
jmp 0x431009
xor bl, bl
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4310a7
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [ebp - 4], 1
je 0x43109c
cmp dword [esi], 0
je 0x43109c
push 0x4000
push dword [esi + 0x10]
push ecx
push edx
push dword [esi + 4]
call fcn.00431270
push 0x18
push esi
call fcn.0044eddd
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret