joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d300
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430663
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x40d3fa
test dl, 0x10
jne 0x40d3fa
mov al, 1
jmp 0x40d3fc
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x40d420
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x40d453
jbe 0x40d453
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x40d438
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.004044e0
jmp 0x40d453
sub esi, edx
je 0x40d450
shl esi, 3
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x412d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43d100]
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 - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffffc
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.00418f90
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x412df6
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004192a0
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x412dd8
cmp dword [ebp + 8], eax
je 0x412df6
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419120
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x412e5c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x412e25
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416280
jmp 0x412e35
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x412e5c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x412e89
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x412ee2
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419120
mov edx, dword [ebp + 8]
jmp 0x412ee4
cmp dword [esi + 0x18], 0
je 0x412ebf
cmp dword [esi + 0x10], 0
je 0x412ebf
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.00418150
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x412e62
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x412e62
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 0x412f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43d100]
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 - 0x3c], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
and eax, 0xfffffff8
push eax
push 0
push 0
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], eax
call fcn.00418f90
mov edi, eax
mov ebx, edx
mov ecx, edi
mov dword [ebp - 0x34], edi
or ecx, ebx
mov dword [ebp - 0x30], ebx
je 0x412fb6
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.004192a0
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x412f98
cmp dword [ebp + 8], eax
je 0x412fb6
push 0x4000
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419120
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 4], 0
or eax, ebx
je 0x41301c
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 4]
push 0
push 0
je 0x412fe5
push ebx
push edi
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
push dword [esi]
call fcn.00416280
jmp 0x412ff5
push edi
push dword [eax + 8]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x41301c
push dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x413049
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
or ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov eax, edi
mov dword [ebp - 4], 5
or eax, ebx
je 0x4130a2
push 0x4000
push dword [ebp - 0x10]
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00419120
mov edx, dword [ebp + 8]
jmp 0x4130a4
cmp dword [esi + 0x18], 0
je 0x41307f
cmp dword [esi + 0x10], 0
je 0x41307f
push dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 8
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push dword [esi]
call fcn.00418150
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
jmp 0x413022
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
jmp 0x413022
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 0x416420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4310cd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 0x24], 0x43e4a8
mov byte [ebp - 0x20], 0
call fcn.0041fa38
add esp, 4
test eax, eax
jne 0x416561
cmp dword [0x43e4d4], 0x7fffffff
je 0x416568
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x43e488
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004125b0
mov eax, dword [eax + 4]
test eax, eax
je 0x416544
cmp eax, dword [0x43e48c]
je 0x416544
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a150
push 8
mov esi, eax
call fcn.004202bf
add esp, 4
test eax, eax
je 0x416503
mov dword [eax], esi
mov dword [eax + 4], 5
jmp 0x416505
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x412780
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x416580
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x416579
push ecx
push eax
call fcn.0041d81f
add esp, 8
test eax, eax
jne 0x416579
push 0x43e4a8
call fcn.0041fa49
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041da7e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041da7e
push 1
call fcn.0041da7e
push 6
mov dword [ebp - 0x14], 0
call fcn.0041da7e
int3
Function at 0x416590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431121
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b0], 0x43e4a8
mov byte [ebp - 0x2ac], 0
call fcn.0041fa38
add esp, 4
test eax, eax
jne 0x41678f
cmp dword [0x43e4d4], 0x7fffffff
je 0x416796
mov byte [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], 0x43e488
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
mov byte [ebp - 4], 1
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.004125b0
mov eax, dword [eax + 4]
test eax, eax
je 0x416749
cmp eax, dword [0x43e48c]
je 0x416749
cmp dword [ebp + 0x2a8], 0
je 0x416695
lea eax, [ebp + 0x284]
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a150
mov ecx, eax
call fcn.00414090
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a150
mov dword [ebp - 0x530], 2
lea esi, [ebp + 0xc]
mov ecx, 0x9e
mov dword [ebp - 0x298], eax
lea edi, [ebp - 0x528]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa0
lea esi, [ebp - 0x530]
lea edi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x288
call fcn.004202bf
add esp, 4
test eax, eax
je 0x4166f8
mov ecx, 0xa2
lea esi, [ebp - 0x298]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4166fa
xor eax, eax
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x412860
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x4167ae
mov ecx, dword [ebp - 0x29c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4167a7
push ecx
push eax
call fcn.0041d81f
add esp, 8
test eax, eax
jne 0x4167a7
push 0x43e4a8
call fcn.0041fa49
mov ecx, dword [ebp + 0x2a8]
add esp, 4
test ecx, ecx
je 0x416774
mov edx, dword [ecx]
lea eax, [ebp + 0x284]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004204fa
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041da7e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041da7e
push 1
call fcn.0041da7e
push 6
mov dword [ebp - 0x29c], 0
call fcn.0041da7e
int3
Function at 0x417de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4313a4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.00415bd0
add esp, 4
mov dword [ebp - 0x2c], esi
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d530
push 0x1c
mov byte [ebp - 4], 1
call fcn.004202bf
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x417e59
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [esi], ecx
lea ecx, [esi + 4]
push eax
call fcn.0040d530
jmp 0x417e5b
xor esi, esi
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
push 0
push esi
push 0x4128e0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x417f34
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x417f4c
push ecx
push eax
call fcn.0041d81f
add esp, 8
test eax, eax
jne 0x417f4c
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
cmp ecx, 7
jbe 0x417ee4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417eda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f42
push ecx
push edx
call fcn.004202ef
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 7
jbe 0x417f1a
mov edx, dword [ebp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417f10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f47
push ecx
push edx
call fcn.004202ef
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004204fa
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x34], 0
call fcn.0041da7e
call fcn.004215f0
call fcn.004215f0
push 1
call fcn.0041da7e
int3
Function at 0x417f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4313f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc44
mov eax, dword [0x43d100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 0x640], 0x43e4a8
mov byte [ebp - 0x63c], 0
call fcn.0041fa38
add esp, 4
test eax, eax
jne 0x418110
cmp dword [0x43e4d4], 0x7fffffff
je 0x418117
mov byte [ebp - 0x63c], 1
mov dword [ebp - 0x638], 0x43e488
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.004125b0
mov eax, dword [eax + 4]
test eax, eax
je 0x4180e8
cmp eax, dword [0x43e48c]
je 0x4180e8
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a150
mov dword [ebp - 0xc50], 0
lea esi, [ebp + 0xc]
mov ecx, 0x182
mov dword [ebp - 0x628], eax
lea edi, [ebp - 0xc48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x184
lea esi, [ebp - 0xc50]
lea edi, [ebp - 0x620]
rep movsd dword es:[edi], dword [esi]
push 0x618
call fcn.004202bf
add esp, 4
test eax, eax
je 0x41809b
mov ecx, 0x186
lea esi, [ebp - 0x628]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x41809d
xor eax, eax
mov dword [ebp - 0x634], eax
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4127c0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x630], eax
test eax, eax
je 0x41812f
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418128
push ecx
push eax
call fcn.0041d81f
add esp, 8
test eax, eax
jne 0x418128
push 0x43e4a8
call fcn.0041fa49
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004204fa
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041da7e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041da7e
push 1
call fcn.0041da7e
push 6
mov dword [ebp - 0x62c], 0
call fcn.0041da7e
int3
Function at 0x418290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43146d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x43d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43e4a8
mov dword [ebp - 0x24], 0x43e4a8
mov byte [ebp - 0x20], 0
call fcn.0041fa38
add esp, 4
test eax, eax
jne 0x4183f9
cmp dword [0x43e4d4], 0x7fffffff
je 0x418400
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x43e488
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x43e488
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004125b0
mov eax, dword [eax + 4]
test eax, eax
je 0x4183dd
cmp eax, dword [0x43e48c]
je 0x4183dd
lea eax, [ebp + 8]
mov ecx, 0x43e488
push eax
call fcn.0041a150
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
push 0x18
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
call fcn.004202bf
add esp, 4
test eax, eax
je 0x41839c
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
jmp 0x41839e
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4128a0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x418418
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418411
push ecx
push eax
call fcn.0041d81f
add esp, 8
test eax, eax
jne 0x418411
push 0x43e4a8
call fcn.0041fa49
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 5
call fcn.0041da7e
push 6
mov dword [0x43e4d4], 0x7ffffffe
call fcn.0041da7e
push 1
call fcn.0041da7e
push 6
mov dword [ebp - 0x14], 0
call fcn.0041da7e
int3
Function at 0x418da0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4315c0
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x43d100]
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 0x436300
push str.kernel32.dll
push ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0
call fcn.004168c0
push edx
push eax
push ebx
call fcn.00416be0
mov ecx, dword [0x43e310]
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 0x418eec
test ebx, ebx
mov eax, ebx
cmove eax, dword [0x43e30c]
push eax
call dword [0x432364]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x418eb2
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 0x418eab
lea eax, [ebp - 0x418]
push str.kernel32.dll
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x418f0f
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x418e82
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 0x436300
push edx
push eax
push ebx
call fcn.00417070
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x448], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x418efb
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x460]
call fcn.00411ed0
or eax, edx
je 0x418f1f
mov bl, 1
jmp 0x418f21
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
cdq
jmp 0x418ec9
xor bl, bl
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x418f67
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [ebp - 4], 1
je 0x418f5c
cmp dword [esi], 0
je 0x418f5c
push 0x4000
push dword [esi + 0x10]
push ecx
push edx
push dword [esi + 4]
call fcn.00419120
push 0x18
push esi
call fcn.004202ef
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.004204fa
mov esp, ebp
pop ebp
ret
Function at 0x41b820
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x41b848
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x41b850
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x41b869
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x41b871
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x41b88a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x41b892
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x41b8ab
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x41b8b3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x41b8f4
add dword [esp], 5
retf

Function at 0x420d4a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420d89
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420d89
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420d89
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420d89
cmp dword [ecx + 0x74], 0xe
jbe 0x420d89
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x421350
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00421280
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x42137a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x421386
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x421390
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00421280
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x4213ba
add eax, 0x7c
ret
add eax, 0x8c
ret