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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
cmp dword [ecx + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
jne 0x40bb96
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], 0
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xc], 0
jbe 0x40bb96
lea ebx, [esi + 0x18]
mov dword [ebp - 0x28], ebx
nop dword [eax + eax]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x208
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004213e0
push dword [ebx]
mov eax, dword [ebx - 4]
add eax, esi
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004208e0
add esp, 0x18
lea esi, [ebp - 0x268]
mov edi, 0x104
movzx eax, word [esi]
push eax
call fcn.0042842b
add esp, 4
mov word [esi], ax
lea esi, [esi + 2]
sub edi, 1
jne 0x40ba31
mov ebx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
add ebx, edx
cmp dword [ebx + 4], edi
jbe 0x40bb01
lea esi, [ebx + 0x14]
nop dword [eax]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
shr ecx, 1
add eax, edx
push ecx
xor edx, edx
mov dword [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], dx
call fcn.00402710
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x40bab3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
push ecx
cmp dword [ebp - 0x14], eax
je 0x40baaa
mov ecx, eax
call fcn.004025e0
add dword [ebp - 0x18], 0x18
jmp 0x40bab3
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040bf50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40baf1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bae7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bbb3
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov edx, dword [ebp - 0x10]
inc edi
add esi, 0x14
cmp edi, dword [ebx + 4]
jb 0x40ba60
lea eax, [ebp - 0x268]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c220
or dword [ebp - 0x20], 1
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x54]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0040c630
mov edx, dword [ebx + 8]
mov ecx, 0x5d1745c
sub ecx, edx
cmp ecx, 1
jb 0x40bba9
lea ecx, [edx + 1]
mov dword [ebx + 8], ecx
mov ecx, ebx
mov dword [esi + 4], eax
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040c370
lea ecx, [ebp - 0x50]
call fcn.0040be20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040be20
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
inc eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x18
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
cmp eax, dword [esi + 0xc]
jb 0x40b9e0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0041e811
call fcn.00424b90
int3
Function at 0x40c710
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
mov edx, dword [eax + 0x18]
push ebx
push esi
lea esi, [eax + 8]
mov dword [ebp - 0xc], eax
mov ebx, ecx
jb 0x40c72e
mov esi, dword [esi]
add edx, edx
mov ecx, 0x811c9dc5
mov dword [ebp - 4], edx
add edx, esi
push edi
xor edi, edi
cmp esi, edx
mov edx, dword [ebp - 4]
cmova edx, edi
mov dword [ebp - 4], edx
test edx, edx
je 0x40c766
mov eax, edx
nop
movzx edx, byte [esi]
lea esi, [esi + 1]
xor edx, ecx
inc edi
imul ecx, edx, 0x1000193
cmp edi, eax
jne 0x40c750
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x18]
and edx, ecx
pop edi
lea esi, [edx*8]
mov edx, dword [ebx + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x40c79c
cmp ecx, eax
jne 0x40c794
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [edx + esi + 4], ecx
jmp 0x40c7a4
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x40c7a4
cmp ecx, eax
jne 0x40c7a4
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.0040b6c0
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40d0d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40d0ec
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40d14f
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x40d14f
push 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x1c], 0
je 0x40d146
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40d146
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
push ecx
lea ecx, [esi + 0x28]
call fcn.0040c980
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d230
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b9b8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
jne 0x40d26c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x40d312
cmp byte [ecx + 0xe], 0
jne 0x40d312
push 0x12
push 0x48de14
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
mov dword [ebp - 4], 0
call fcn.004011f0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00403120
test eax, eax
je 0x40d2c8
push dword [esi + 8]
call eax
jmp 0x40d2ca
xor eax, eax
mov edx, dword [ebp - 0x10]
cmp eax, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x40d300
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d2f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d331
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0xc]
cmp eax, 0xffffffff
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00424b90
int3
Function at 0x40d340
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword [ebx + 8]
sub esp, 0x958
push esi
push edi
mov edi, ecx
cmp eax, 4
jg 0x40d53e
test eax, eax
js 0x40d53e
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.004213e0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call fcn.004213e0
mov esi, dword [edi]
add esp, 0xc
mov eax, dword [esi + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x40d3dc
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.004213e0
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x40d407
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.004213e0
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
add esp, 0xc
push edx
push dword [edi + 8]
call eax
test eax, eax
lea esi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
sete al
cmp byte [ebp - 1], 0
cmovne esi, ecx
test al, al
je 0x40d53e
mov ecx, dword [ebx + 8]
mov edx, dword [esi]
test ecx, ecx
jne 0x40d44a
and edx, 0xfffffffe
and edx, 0xfff3ffff
and edx, 0xfffcffff
jmp 0x40d4b7
cmp ecx, 1
jne 0x40d460
and edx, 0xfffffffb
and edx, 0xff3fffff
and edx, 0xffcfffff
jmp 0x40d4b7
cmp ecx, 2
mov dword [ebp - 8], 0xffffffbf
mov eax, 0xffffffef
cmovne eax, dword [ebp - 8]
and eax, edx
mov dword [esi], eax
cmp ecx, 2
jne 0x40d48e
mov eax, 0xf3ffffef
mov dword [ebp - 8], 0xf3ffffbf
cmovne eax, dword [ebp - 8]
jmp 0x40d49e
mov eax, 0x3fffffef
mov dword [ebp - 8], 0x3fffffbf
cmovne eax, dword [ebp - 8]
and eax, edx
mov dword [ebp - 8], 0xcfffffff
cmp ecx, 2
mov dword [esi], eax
mov edx, 0xfcffffff
cmovne edx, dword [ebp - 8]
and edx, eax
mov eax, edx
mov dword [esi], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x40d4d6
and edx, 0xfffffeff
mov dword [esi], edx
mov ecx, edi
call fcn.0040d230
mov cl, al
xor al, al
cmp byte [ebp - 1], al
jne 0x40d4fc
test cl, cl
je 0x40d540
mov eax, dword [edi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x40d510
test cl, cl
je 0x40d540
mov eax, dword [edi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [edi + 8]
call eax
test eax, eax
setns byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
je 0x40d530
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x40d550
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x670
lea eax, [ebp - 0x950]
mov esi, ecx
push 0
push eax
call fcn.004213e0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call fcn.004213e0
mov edi, dword [esi]
add esp, 0xc
mov eax, dword [edi + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x40d5d8
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.004213e0
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x40d603
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.004213e0
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
add esp, 0xc
push edx
push dword [esi + 8]
call eax
test eax, eax
lea edi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
sete al
cmp byte [ebp - 1], 0
cmovne edi, ecx
test al, al
je 0x40d651
mov edx, dword [ebx + 0xc]
xor ecx, ecx
mov eax, dword [ebx + 8]
cmp dword [ebp + ecx*8 - 0x908], eax
jne 0x40d642
cmp dword [ebp + ecx*8 - 0x904], edx
je 0x40d65e
cmp dword [ebp + ecx*4 - 0x2d4], eax
je 0x40d65e
inc ecx
cmp ecx, 4
jl 0x40d630
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
jne 0x40d67c
mov dword [ebp + ecx*8 - 0x908], 0
mov dword [ebp + ecx*8 - 0x904], 0
jmp 0x40d687
mov dword [ebp + ecx*4 - 0x2d4], 0
mov edx, dword [edi]
test ecx, ecx
jne 0x40d694
mov eax, 0xfffffffe
jmp 0x40d6b3
cmp ecx, 1
jne 0x40d6a0
mov eax, 0xfffffffb
jmp 0x40d6b3
cmp ecx, 2
mov dword [ebp - 8], 0xffffffef
mov eax, 0xffffffbf
cmove eax, dword [ebp - 8]
and edx, eax
mov dword [edi], edx
test ecx, ecx
jne 0x40d6c3
and edx, 0xfff3ffff
jmp 0x40d6e3
cmp ecx, 1
jne 0x40d6d0
and edx, 0xff3fffff
jmp 0x40d6e3
mov eax, edx
and edx, 0x3fffffff
and eax, 0xf3ffffff
cmp ecx, 2
cmove edx, eax
mov dword [edi], edx
test ecx, ecx
jne 0x40d6f0
mov eax, 0xfffcffff
jmp 0x40d70f
cmp ecx, 1
jne 0x40d6fc
mov eax, 0xffcfffff
jmp 0x40d70f
cmp ecx, 2
mov dword [ebp - 8], 0xfcffffff
mov eax, 0xcfffffff
cmove eax, dword [ebp - 8]
and edx, eax
mov dword [edi], edx
mov eax, edx
shr edx, 2
or edx, eax
shr edx, 2
or edx, eax
shr edx, 2
or edx, eax
test dl, 1
jne 0x40d730
and eax, 0xfffffeff
mov dword [edi], eax
mov ecx, esi
call fcn.0040d230
mov cl, al
xor al, al
cmp byte [ebp - 1], al
jne 0x40d75a
test cl, cl
je 0x40d653
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x40d772
test cl, cl
je 0x40d653
mov eax, dword [esi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
test eax, eax
setns byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x40d792
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x40e4c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ba35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x54]
mov edi, ecx
push eax
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x54], 0
jne 0x40e549
push 0x14
call fcn.0041eddc
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push 1
mov dword [ebp - 4], 0
mov ecx, esi
push dword [edi]
call fcn.00410150
mov dword [esi], vtable.blackbone::x86Native.0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 8]
mov dword [edi + 8], esi
test eax, eax
je 0x40e5c7
push 0x14
mov dword [eax], vtable.blackbone::Native.0
push eax
jmp 0x40e5bf
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x10], 1
jne 0x40e586
push 0x30
call fcn.0041eddc
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov ecx, eax
push dword [edi]
call fcn.004131b0
jmp 0x40e5a5
push 0x14
call fcn.0041eddc
add esp, 4
mov dword [ebp - 0x18], eax
push 0
mov dword [ebp - 4], 2
mov ecx, eax
push dword [edi]
call fcn.00410150
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
test ecx, ecx
je 0x40e5c7
push 0x14
push ecx
mov dword [ecx], vtable.blackbone::Native.0
call fcn.0041ee0c
add esp, 8
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x40e5e6
mov byte [edi + 0xc], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x13
push str.GetProcessDEPPolicy
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00402850
mov dword [ebp - 4], 3
call fcn.004011f0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00403120
test eax, eax
je 0x40e640
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [edi]
call eax
mov esi, eax
jmp 0x40e642
xor esi, esi
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40e672
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e668
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e690
push edx
push ecx
call fcn.0041ee0c
add esp, 8
test esi, esi
je 0x40e67e
mov al, byte [ebp - 0x14]
and al, 1
mov byte [edi + 0xc], al
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00424b90
int3
Function at 0x410e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword fs:[0x18]
push esi
push edi
push 0x10
mov esi, ecx
mov dword [eax + 0xbf4], 0
push 0x48f3cc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00402850
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.004011f0
mov ecx, eax
call fcn.00403120
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x410ec4
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410eba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f48
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov ecx, dword [esi + 4]
push 0
test edi, edi
je 0x410f0a
mov esi, dword [ebp + 8]
push 0x100000
push 0x1000
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x20]
push esi
call edi
test eax, eax
jns 0x410f36
pop edi
mov dword [esi], 0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x1c]
and eax, 1
shl eax, 2
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00424b90
int3
Function at 0x413470
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bdc4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov edx, dword [eax]
mov ebx, ecx
mov eax, dword [0x49ab28]
mov dword [ebp - 0x34], 0
cmp eax, dword [edx + 4]
jle 0x413521
push 0x49ab28
call fcn.0041f34c
add esp, 4
cmp dword [0x49ab28], 0xffffffff
jne 0x413521
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x18]
mov eax, ecx
mov edx, dword [ebx + 0x1c]
or eax, edx
jne 0x4134f3
lea eax, [ebx + 0x28]
push eax
push ecx
lea ecx, [ebx + 0x18]
call fcn.0041d180
mov dword [ebx + 0x18], eax
mov ecx, eax
mov dword [ebx + 0x1c], edx
push str.NtAllocateVirtualMemory
push edx
push ecx
lea ecx, [ebx + 0x18]
call fcn.0041d390
push 0x49ab28
mov dword [0x49aae0], eax
mov dword [0x49aae4], edx
mov dword [ebp - 4], 0xffffffff
call fcn.0041f302
add esp, 4
mov esi, dword [0x49aae0]
mov eax, esi
mov edi, dword [0x49aae4]
or eax, edi
jne 0x41354b
mov eax, 0xc0000138
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x18]
push dword [ebp + 0xc]
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], edx
cdq
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x84], edx
cdq
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
movlpd qword [ebp - 0x80], xmm0
push eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.00415380
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], esi
mov eax, dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ecx + 0x20]
cdq
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x2c], edi
mov dword [ebp + 0xc], 0
mov dword [ebp + 0xc], esp
and esp, 0xfffffff0
push 0x33
call fcn.00413635
Function at 0x4136f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43bde4
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword fs:[0x2c]
push ebx
mov edx, dword [eax]
mov ebx, ecx
mov eax, dword [0x49ab20]
push esi
push edi
cmp eax, dword [edx + 4]
jle 0x413791
push 0x49ab20
call fcn.0041f34c
add esp, 4
cmp dword [0x49ab20], 0xffffffff
jne 0x413791
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x18]
mov eax, ecx
mov edx, dword [ebx + 0x1c]
or eax, edx
jne 0x413763
lea eax, [ebx + 0x28]
push eax
push ecx
lea ecx, [ebx + 0x18]
call fcn.0041d180
mov dword [ebx + 0x18], eax
mov ecx, eax
mov dword [ebx + 0x1c], edx
push str.NtFreeVirtualMemory
push edx
push ecx
lea ecx, [ebx + 0x18]
call fcn.0041d390
push 0x49ab20
mov dword [0x49ab40], eax
mov dword [0x49ab44], edx
mov dword [ebp - 4], 0xffffffff
call fcn.0041f302
add esp, 4
mov esi, dword [0x49ab40]
mov eax, esi
mov edi, dword [0x49ab44]
or eax, edi
jne 0x4137bb
mov eax, 0xc0000138
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cdq
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x7c], edx
cdq
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x74], edx
cdq
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.00415380
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x60]
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], esi
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x38], eax
movlpd qword [ebp + 8], xmm0
mov dword [ebp - 0x40], edi
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x10], esp
and esp, 0xfffffff0
push 0x33
call fcn.0041388c