joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x10034780]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d30], 0
test eax, eax
je 0x10012a9f
lea edi, [esi + 0x2d34]
mov dword [esi + 0x2d30], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100129e5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100137b0
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x100129fa
push 8
mov ecx, edi
call fcn.100137b0
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 8]
mov byte [ecx + eax], 0
inc dword [edi]
mov eax, dword [esi + 0x2d40]
test eax, eax
jle 0x10012a5c
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10012a35
push 0x4f8
push str.C:UsersUserDesktopImGui_DirectX_11_Kiero_Hook_masterImGui_DirectX_11_Kiero_Hookimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [esi + 0x2d48]
add eax, ecx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
inc ebx
mov eax, dword [esi + 0x2d40]
add ecx, 0x18
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x10012a35
mov edi, dword [edi]
mov ebx, 0x1003477c
mov ecx, dword [ebp - 8]
mov edx, 0x1002ba00
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d3c]
test eax, eax
cmovne ebx, eax
call fcn.100029e0
mov esi, eax
test esi, esi
je 0x10012a9f
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025f30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1002602a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10026023
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10026009
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10026009
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10026009
mov edx, dword [esi]
test edx, edx
jne 0x10025fd2
push 0x200
push edx
push dword [0x10034788]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10026023
jmp 0x10025ffd
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10025ffd
shl eax, 3
push eax
push edx
push 0
push dword [0x10034788]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10026023
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10025f91
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1002606f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1002606f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10026069
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10025dc0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10026036
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027316
mov esp, ebp
pop ebp
ret
Function at 0x10026080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x100348b0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100260e1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027316
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10026102
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10026123
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10026123
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1002611d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10026123
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.10027316
mov esp, ebp
pop ebp
ret
Function at 0x10026180
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x100348b8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10026271
mov eax, dword [0x100348b0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x100261c5
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x100261a8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10026271
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10025f30
mov ecx, dword [0x100348b8]
add esp, 4
cmp esi, ecx
jae 0x10026225
imul edi, esi, 0x2c
mov eax, dword [0x100348b0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1002621a
mov edx, ebx
mov ecx, esi
call fcn.10026080
mov dword [ebp - 4], eax
test eax, eax
jne 0x10026222
mov ecx, dword [0x100348b8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100261f1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10026271
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10026262
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10026256
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10026235
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10034788]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100265c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov edx, 1
mov ecx, 0x10034784
xor eax, eax
lock cmpxchg dword [ecx], edx
test eax, eax
je 0x10026615
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
cmp esi, 0x20
jae 0x100265f9
push 0
jmp 0x100265fb
push 1
call ebx
inc esi
mov ecx, 1
xor eax, eax
mov edx, 0x10034784
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x100265f0
mov ebx, dword [ebp - 4]
cmp dword [0x10034788], 0
je 0x100266e8
test ebx, ebx
jne 0x10026634
mov ecx, edi
call fcn.10026180
mov edi, eax
jmp 0x100266ed
mov ecx, dword [0x100348b8]
xor esi, esi
test ecx, ecx
je 0x10026654
mov edx, dword [0x100348b0]
mov eax, edx
cmp ebx, dword [eax]
je 0x1002665e
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x10026648
mov edi, 4
jmp 0x100266ed
cmp esi, 0xffffffff
je 0x10026654
imul eax, esi, 0x2c
movzx eax, byte [eax + edx + 0x14]
shr eax, 1
and eax, 1
cmp eax, edi
je 0x100266df
push 1
mov edx, esi
lea ecx, [ebp - 0x10]
call fcn.10025f30
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.10026080
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
test eax, eax
je 0x100266ed
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100266ce
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100266c2
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100266a1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x10034788]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100266ed
neg edi
sbb edi, edi
add edi, 6
jmp 0x100266ed
mov edi, 2
xor eax, eax
mov ecx, 0x10034784
xchg dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100272a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100272d8
sub eax, 1
jne 0x1002730d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10027250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
cmp dword [0x1003480c], 0
je 0x1002730d
xor edx, edx
xor ecx, ecx
call fcn.100265c0
push dword [0x10034808]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [0x10034808], 0
mov dword [0x1003480c], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x4019b2
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
add dword [eax], eax
add byte [ebx + 0x2ae908c4], al
add dword [eax], eax
add byte [esi - 1], dl
adc eax, 0x409910
add esp, 4
mov edi, 0x407200
mov eax, dword [ebp + 0x10]
mov esi, eax
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4019fd
mov byte [ebp - 0x1d0], dl
push 0x4071f0
call dword [0x409900]
push 0x4071e0
call dword [0x409900]
add esp, 8
jmp 0x401a31
mov edi, 0x4071d8
mov esi, eax
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401a23
mov byte [ebp - 0x1d0], al
push 0x4071f0
call dword [0x409900]
add esp, 4
push 0x4071c8
call dword [0x409900]
add esp, 4
lea ecx, [ebp - 0x1d0]
push ecx
lea edx, [ebp - 0x9dc]
push edx
push ebx
call dword [0x40990c]
mov esi, eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.00401bb2
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401b87
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebp
push 0
push 0
push 0x401788
push dword [ebp + 8]
call fcn.0040678e
pop ebp
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402f62
Capabilities:
Link many functions at runtime

Disassembly:
call fcn.004030ec
test eax, eax
jne 0x402f54
call fcn.00402d6e
xor eax, eax
ret
push esi
push edi
push 0x407714
call dword [0x407018]
mov edi, eax
test edi, edi
je 0x402fd2
mov esi, dword [0x40705c]
push 0x407708
push edi
call esi
push 0x4076fc
push edi
mov dword [0x409ac4], eax
call esi
push 0x4076f0
push edi
mov dword [0x409ac8], eax
call esi
push str.R6029_r_n__This_application_cannot_run_using_the_active_version_of_the_Microsoft_.NET_Runtime_nPlease_contact_the_applications_support_team_for_more_information._r_n
push edi
mov dword [0x409acc], eax
call esi
cmp dword [0x409ac8], 0
mov dword [0x409ad0], eax
jne 0x402fd2
mov eax, dword [0x4070c4]
mov dword [0x409ac8], eax
mov eax, dword [0x4070c0]
mov dword [0x409acc], eax
mov eax, dword [0x4070bc]
mov dword [0x409ac4], 0x402965
mov dword [0x409ad0], eax
push 0x4029fc
call dword [0x409ac4]
cmp eax, 0xffffffff
mov dword [0x40918c], eax
je 0x403028
xor edi, edi
push 0x8c
inc edi
push edi
call fcn.00404188
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x403028
push esi
push dword [0x40918c]
call dword [0x409acc]
test eax, eax
je 0x403028
mov dword [esi + 0x54], 0x4090e0
mov dword [esi + 0x14], edi
call dword [0x4070b8]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
mov eax, edi
jmp 0x40302f
call fcn.00402d6e
xor eax, eax
pop edi
pop esi
ret
Function at 0x440e00
Capabilities:
Access peb ldr_data
Get number of processors
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4fe34e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004d8070
lea edi, [esi + 0x3c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
push fcn.004dbec1
push 0x441580
push 4
lea eax, [edi + 4]
push 4
push eax
mov byte [esp + 0x38], 1
call fcn.004c0503
mov dword [edi], 0x5138c0
mov ecx, dword [0x574900]
lea ebx, [esi + 0x64]
mov dword [ebx], ecx
mov eax, dword [esp + 0x34]
mov dword [esi], 0x513808
test eax, eax
je 0x440e75
mov dword [esi + 0x60], eax
jmp 0x440e78
mov dword [esi + 0x60], edi
mov edx, dword [esp + 0x30]
mov dword [esi + 0x68], edx
mov eax, dword [0x574900]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
push ecx
push 0x64
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x63
call fcn.004dc306
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004dc356
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.004dc058
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.004dc2ee
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.004dbec1
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x454ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5008f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
lea ecx, [esp + 0x18]
call fcn.004dfa6a
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.004df02d
mov edi, dword [esp + 0x30]
mov ebx, eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004df4d9
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
push edx
push eax
mov ecx, esi
call fcn.004df525
push ebx
mov ecx, esi
call fcn.004df02d
mov dword [esp + 0xc], 0x51ca2c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call fcn.004dfa54
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x46bad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5017e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004db6cc
xor edi, edi
mov dword [esi + 0x5c], 0x5162a4
mov dword [esp + 0x1c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], 0xa
mov dword [esi + 0x78], 0x516298
mov dword [esi + 0x7c], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 2
call fcn.004709a0
lea ebx, [esi + 0xc4]
mov dword [esp + 0x10], ebx
lea ecx, [ebx + 0x10]
mov dword [ecx], 0x51025c
mov dword [ecx + 4], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 8], edi
push 0xa
push edi
mov byte [esp + 0x24], 5
mov dword [ebx], 0x51628c
call fcn.00490de0
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx + 0x24], edi
lea ecx, [esi + 0xec]
mov byte [esp + 0x1c], 6
call fcn.004d5ee2
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 7
call fcn.004d5ee2
lea ecx, [esi + 0x114]
mov byte [esp + 0x1c], 8
call fcn.004d5ee2
mov dword [esi], 0x516200
mov dword [esi + 0x28], 0xfffffffb
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], 4
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], 0x10
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [ebx + 0xc]
cmp eax, edi
mov byte [esp + 0x1c], 9
jg 0x46bc05
mov dword [ebx + 0xc], 0x1000
cmp dword [ebx + 0x24], edi
jle 0x46bc11
mov ecx, ebx
call fcn.00429b80
mov ecx, dword [esp + 0x14]
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x1c], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4709a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x501a03
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi], 0x5162b0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], 0x5162bc
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 4]
mov dword [esi + 0x2c], edi
cmp eax, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], 0x64
je 0x470a00
push eax
call fcn.004dbc23
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esp + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x474c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x501b08
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
push ebx
mov eax, dword [esi]
call dword [eax + 0x150]
mov edi, eax
test edi, edi
jne 0x474c9a
mov eax, dword [esi + 0x1fc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [0x574900]
mov dword [esp + 0x30], ecx
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0
call dword [edx + 0x158]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0
push eax
mov ecx, esi
call fcn.00471d80
add esi, 0x218
lea edi, [esp + 0xc]
push 0xc10
push edi
mov edx, dword [esi]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0xc]
mov esi, dword [ecx]
mov dword [esp + 0x20], edx
mov edx, dword [eax - 8]
push edx
push eax
call dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
sub esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.004dbec1
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x47f670
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x502138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [ecx + 0x1c]
push 3
push eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.004d849b
mov ecx, dword [0x574900]
mov dword [esp], ecx
test eax, eax
mov dword [esp + 0x3c], 0
je 0x47f6c0
lea edx, [esp]
mov ecx, eax
push edx
call fcn.004d8e5b
push 0x26
lea ecx, [esp + 4]
call fcn.004dc3d6
test eax, eax
mov dword [esp + 8], eax
jl 0x47f83b
mov ecx, dword [esp]
mov ecx, dword [ecx - 8]
dec ecx
cmp eax, ecx
jge 0x47f83b
push ebx
push ebp
push esi
push edi
push 0xff0000
lea ecx, [esp + 0x30]
call fcn.004dfaba
push 0xffffff
push 0
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.004dfa6a
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x50], 2
call fcn.004df02d
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004df02d
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx + 0xc]
mov eax, ecx
mov ebp, ecx
sub eax, edx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub ebp, edi
add ecx, edi
lea eax, [edi + ebx]
sub ebx, edi
push ebp
push ebx
push ecx
push eax
push ecx
mov ecx, dword [esi + 4]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_Pie]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [eax + 0x90]
push ecx
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
mov dword [esp + 0x5c], eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ax, word [eax + ecx*2 + 2]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 1
add ebp, 2
push eax
add edi, ebx
push ebp
push edi
mov ecx, esi
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004df02d
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
call fcn.004df02d
mov ecx, dword [esp + 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov esi, 0x51ca2c
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.004dfa54
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 4
call fcn.004dfa54
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004dbec1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004dbec1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8