joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x206c
call fcn.00436a90
mov eax, dword [0x490274]
xor eax, esp
mov dword [esp + 0x2068], eax
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov esi, dword [eax]
mov ebx, edx
mov eax, dword [0x495ac0]
mov edi, ecx
cmp eax, dword [esi + 4]
jle 0x4048ab
push 0x495ac0
call fcn.00435de6
add esp, 4
cmp dword [0x495ac0], 0xffffffff
jne 0x4048ab
push str.WTSGetActiveConsoleSessionId
xorps xmm0, xmm0
push str.Kernel32.dll
movlpd qword [0x495ac4], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x495ac8
mov dword [0x495ac4], eax
call fcn.00403cf0
push 0x46f990
call fcn.00436142
add esp, 4
push 0x495ac0
call fcn.00435d9c
add esp, 4
mov ecx, 0x495ac4
call fcn.00404530
mov esi, eax
test esi, esi
jne 0x4048d2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
push 0
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push 0x40
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x34], 0x44
call fcn.0044e130
mov eax, 1
mov dword [esp + 0x3c], str.WinSta0Default
add esp, 0xc
mov word [esp + 0x58], ax
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x54], eax
jb 0x404923
mov ebx, dword [ebx]
push 0x2000
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0044e130
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40493f
mov edi, dword [edi]
push ebx
push edi
lea eax, [esp + 0x78]
push str._s__s
push eax
call fcn.004049e0
mov ebx, dword [esp + 0x20]
add esp, 0x10
test ebx, ebx
mov eax, 0x410
mov ecx, 0x830
cmovne ecx, eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
xor eax, eax
test ebx, ebx
cmovne eax, dword [esp + 0x20]
push eax
push ecx
push 0
push 0
push 0
lea eax, [esp + 0x90]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
test ebx, ebx
je 0x4049ad
push dword [esp + 0x14]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test edi, edi
je 0x4049bf
push dword [esp + 0x18]
call esi
push dword [esp + 0x1c]
call esi
test edi, edi
mov ecx, dword [esp + 0x2074]
setne al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x409460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a200
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00435bec
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004342d1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b0f0
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x490d38]
cmp eax, 0x7fffffff
push ebx
push esi
mov esi, ecx
sete byte [ebp - 0x21]
mov ecx, 0x7530
cmove eax, ecx
push edi
mov dword [0x490d38], eax
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40b1c0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
add eax, 0xfffffbe4
cmp eax, 0x14
ja case.0x40b159.1053
movzx eax, byte [eax + 0x40b270]
jmp dword [eax*4 + 0x40b260]
mov eax, dword [ebp - 0x1c]
cmp eax, 2
je 0x40b16d
cmp eax, 3
jne 0x40b1a5
mov eax, dword [0x490d38]
test eax, eax
jle 0x40b237
sub eax, 0x12c
push 0x12c
mov dword [0x490d38], eax
call edi
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
jne case.0x40b159.1052
mov eax, dword [0x490d38]
mov ecx, 0x1f
jmp 0x40b23c
cmp eax, 4
jne 0x40b1fc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x40b146
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x40b1cd
cmp eax, 3
jne 0x40b225
mov eax, dword [0x490d38]
test eax, eax
jle 0x40b237
sub eax, 0x12c
push 0x12c
mov dword [0x490d38], eax
call edi
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
jne 0x40b1c0
lea ecx, [eax + 0x1f]
mov eax, dword [0x490d38]
jmp 0x40b23c
cmp eax, 1
je case.0x40b159.1062
mov eax, dword [0x490d38]
mov ecx, 0x1f
jmp 0x40b23c
mov eax, dword [0x490d38]
mov ecx, 0x20
jmp 0x40b23c
mov eax, dword [0x490d38]
mov ecx, 0x32
jmp 0x40b23c
xor ecx, ecx
cmp eax, 1
mov eax, dword [0x490d38]
setne cl
add ecx, 0x1e
jmp 0x40b23c
mov ecx, 0x33
cmp byte [ebp - 0x21], 0
mov edx, 0x7fffffff
pop edi
cmovne eax, edx
mov dword [0x490d38], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x40b290
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b2cb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
push 0xf01ff
push dword [0x481388]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40b32a
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push 2
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x481bec
mov dword [ebp - 0x1c], 0x481bec
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x40b353
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x40b33d
push esi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call eax
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x40b32c

Function at 0x40b360
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x490d38]
cmp eax, 0x7fffffff
push ebx
push esi
push edi
mov ebx, ecx
sete byte [ebp - 1]
push 3
mov ecx, 0x7530
mov dword [ebp - 8], ebx
push 0
cmove eax, ecx
push 0
mov dword [0x490d38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b3a3
lea ebx, [eax + 0xb]
jmp 0x40b48a
push 0
push 0
push 0x481e7c
push 0
push 0x481bec
push ebx
push 1
push 2
push 0x10
push 4
push dword [0x48138c]
push dword [0x481388]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x40b3f2
call fcn.0040b290
movzx ebx, al
neg ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
add ebx, 0xb
call esi
jmp 0x40b487
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x431
jne 0x40b470
push 3
push dword [0x481388]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40b41b
lea ebx, [eax + 0xb]
jmp 0x40b461
push dword [0x48138c]
push 0
push 0
push 0x481e7c
push 0
push 0x481bec
push dword [ebp - 8]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x40b44e
call ebx
mov ebx, 0xd
jmp 0x40b461
call fcn.0040b290
mov ebx, 0xd
test al, al
je 0x40b461
mov ebx, 0xc
test esi, esi
je 0x40b481
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x40b487
mov ebx, 0x32
cmp eax, 0x430
je 0x40b481
mov ebx, 0xb
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ecx, dword [0x490d38]
mov eax, 0x7fffffff
cmp byte [ebp - 1], 0
pop edi
cmovne ecx, eax
mov eax, ebx
pop esi
mov dword [0x490d38], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4165d0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c1fd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x1058], bl
je 0x416679
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x1058], bl
cmp dword [ebp + 8], ebx
je 0x41669e
cmp dword [ebp + 0xc], ebx
je 0x41669e
mov edx, dword [esi + 0x1064]
mov edi, dword [esi + 0x1070]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x416641
mov edx, dword [edx]
mov ecx, dword [edx + 8]
mov eax, edi
shr eax, 2
dec ecx
and ecx, eax
and edi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edi*4]
add dword [esi + 0x1074], 0xffffffff
jne 0x416669
mov dword [esi + 0x1070], ebx
jmp 0x41666f
inc dword [esi + 0x1070]
test ecx, ecx
je 0x416679
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1074], ebx
je 0x4167f1
mov edi, dword [esi + 0x105c]
cmp edi, 0xffffffff
je 0x4166fe
mov eax, dword [esi + 0x1064]
test eax, eax
jne 0x416714
xor edx, edx
jmp 0x416716
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004106d0
cmp eax, 2
jg 0x4166ee
push 2
push 0x1ac
push str.f:360work_vpn_turbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
mov ebx, 8
mov dword [ebp - 4], 3
push esi
add eax, ebx
mov dword [ebp - 0x10], ebx
push str.pipe_error:
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 8
je 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x1070]
dec ecx
shr eax, 2
and ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x1070]
and eax, 3
mov dword [ebp + 8], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
lea eax, [esi + 0x1040]
push eax
lea eax, [ebp + 0xc]
add ecx, dword [edx]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4167ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4167ea
call fcn.004106d0
cmp eax, 2
jg 0x4167c1
push 2
push 0x1ce
push str.f:360work_vpn_turbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
push edi
add eax, 8
mov dword [ebp - 4], 7
push str.pipe_error:
mov ebx, 0x80
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, bl
jns 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x1058], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c23c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [esi + 0x105c]
cmp ecx, 0xffffffff
je 0x4168d5
lea eax, [esi + 0x1024]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4168ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4168ee
call fcn.004106d0
cmp eax, 2
jg 0x4168c5
push 2
push 0x84
push str.f:360work_vpn_turbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc4]
call fcn.0040f530
push edi
mov dword [ebp - 4], ebx
add eax, 8
push str.pipe_error:
mov ebx, 1
push eax
mov dword [ebp - 0x14], ebx
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 1
je 0x4168d5
lea ecx, [ebp - 0xc4]
call fcn.0040f6f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 2
mov byte [esi + 0x103c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x418e90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c59f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4938dc], 0
je 0x418eca
xor al, al
jmp 0x418f89
push 0x18
call fcn.00435bec
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x418f1a
lea eax, [ebp - 0x29]
mov ecx, edi
push eax
push 1
call fcn.00417af0
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x34], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004032d0
mov dword [esi], eax
mov dword [edi + 0x14], 1
jmp 0x418f1c
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4938dc], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418f50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403650
mov ecx, dword [0x4938dc]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00419450
lea ecx, [ebp - 0x28]
call fcn.00402e70
mov al, 1
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.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x419450
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c678
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push ecx
push 3
push eax
call fcn.0042d770
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4194e3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], 0
push esi
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004190d0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x419519
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41950f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419536
push edx
push ecx
call fcn.00435c1c
add esp, 8
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.00435bdb
mov esp, ebp
pop ebp
ret 4
call fcn.00451286
int3

Function at 0x419ad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419ae0
Function at 0x41d160
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cc78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
mov dword [edi], eax
mov ecx, esi
mov dword [edi + 4], 0
mov dword [ebp + 8], esi
call fcn.0041bf90
push esi
lea ecx, [edi + 0x20]
mov dword [ebp - 4], 0
call fcn.0042e6f0
push esi
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
call fcn.0042e6f0
push esi
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 2
call fcn.0042e6f0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x30]
push dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov dword [edi + 0x2c], eax
call fcn.00401f40
lea esi, [edi + 0x48]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ee70
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ee50
mov dword [esi], eax
lea esi, [edi + 0x64]
mov byte [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov ecx, esi
mov dword [edi + 0x60], 0
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041eeb0
mov dword [esi], eax
lea esi, [edi + 0x7c]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov ecx, esi
mov dword [edi + 0x78], 0
mov byte [ebp - 4], 7
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ee90
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x8c], eax
mov eax, edi
mov dword [edi + 0x84], 0
mov byte [edi + 0x88], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d7f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cd40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebx + 0x50]
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x41d84a
nop dword [eax]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00403030
mov esi, dword [ebx + 0x50]
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x41d830
push dword [esi + 4]
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0
call fcn.0041f040
mov eax, dword [ebx + 0x50]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x50]
mov dword [eax], esi
mov eax, dword [ebx + 0x50]
mov dword [eax + 8], esi
mov dword [ebx + 0x54], 0
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x41d88a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x7c]
lea ecx, [ebx + 0x7c]
push eax
mov dword [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0041f7b0
push 0x14
push dword [ebx + 0x7c]
call fcn.00435c1c
mov esi, dword [ebx + 0x64]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0x64]
mov dword [ebp - 4], 2
call fcn.0041f190
mov eax, dword [ebx + 0x64]
push 0x60
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x64]
mov dword [eax], esi
mov eax, dword [ebx + 0x64]
mov dword [eax + 8], esi
mov dword [ebx + 0x68], 0
push dword [ebx + 0x64]
call fcn.00435c1c
mov esi, dword [ebx + 0x50]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 3
call fcn.0041f040
mov eax, dword [ebx + 0x50]
push 0x1c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x50]
mov dword [eax], esi
mov eax, dword [ebx + 0x50]
mov dword [eax + 8], esi
mov dword [ebx + 0x54], 0
push dword [ebx + 0x50]
call fcn.00435c1c
mov ebx, dword [ebp - 0x14]
add esp, 8
mov esi, dword [ebx + 0x48]
push dword [esi + 4]
lea ecx, [ebx + 0x48]
mov dword [ebp - 4], 4
call fcn.0041f0c0
mov eax, dword [ebx + 0x48]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x48]
mov dword [eax], esi
mov eax, dword [ebx + 0x48]
mov dword [eax + 8], esi
mov dword [ebx + 0x4c], 0
push dword [ebx + 0x48]
call fcn.00435c1c
mov ecx, dword [ebx + 0x44]
add esp, 8
cmp ecx, 0x10
jb 0x41d991
mov eax, dword [ebx + 0x30]
inc ecx
cmp ecx, 0x1000
jb 0x41d987
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d9d5
mov eax, edx
push ecx
push eax
call fcn.00435c1c
add esp, 8
mov dword [ebx + 0x40], 0
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
call fcn.00408fd0
lea ecx, [ebx + 0x24]
call fcn.00408fd0
lea ecx, [ebx + 0x20]
call fcn.00408fd0
lea ecx, [ebx + 8]
call fcn.0041bfb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00451286
int3
Function at 0x421f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d2a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00422130
mov dword [edi], vtable.base::MessagePumpForIO.0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
lea esi, [edi + 0x34]
mov byte [ebp - 4], 1
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00423690
mov dword [esi], eax
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00421ac0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp dword [edi + 0x30], esi
je 0x422030
lea ecx, [edi + 0x30]
call fcn.0040ee90
test esi, esi
je 0x422030
cmp esi, 0xffffffff
je 0x422030
mov dword [edi + 0x30], esi
call fcn.00416f30
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