joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5ba0a8], 0
jne 0x446af7
push str.instspy_ok
push 0
push 1
push 0
mov dword [0x5ba0ac], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x5ba114], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push str.instspy_kill
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5ba0ac], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4469d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xorps xmm0, xmm0
mov dword [0x5ba0a8], eax
movdqa xmmword [0x5ba120], xmm0
movdqa xmmword [0x5ba130], xmm0
movdqa xmmword [0x5ba140], xmm0
movdqa xmmword [0x5ba150], xmm0
movdqa xmmword [0x5ba160], xmm0
movdqa xmmword [0x5ba170], xmm0
mov dword [0x5ba180], 0
mov esp, ebp
pop ebp
ret

Function at 0x446b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00446740
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push dword [0x5ba114]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
mov ecx, 0x5ba894
push eax
call fcn.00416320
mov eax, dword [0x5ba118]
inc eax
push eax
push str.Monitor__d_started_n
call fcn.0052ae80
add eax, 0x20
push eax
call fcn.0052e4d8
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x446c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x5ba118]
mov dword [ecx*4 + 0x5ba120], eax
test eax, eax
jne 0x446bb1
push str.Error._Thread_monitorInst_was_not_created._n
call fcn.0052ae80
add eax, 0x20
push eax
call fcn.0052e4d8
add esp, 8
push dword [0x5ba114]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
inc dword [0x5ba118]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004467f0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x449010
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fd3b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5b3680]
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
push 1
call fcn.00449b80
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [0x5ba188]
or edi, 0xffffffff
mov esi, eax
cmp dword [ebx + 0x1424], 0
je 0x449080
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
mov ecx, 0x2710
cmovne edi, ecx
push edi
push dword [ebx + 0x1424]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, 0xffffffff
je 0x4491a0
xor edi, edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x240]
push eax
push esi
mov dword [ebp - 0x240], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4490e0
mov eax, dword [0x5ba188]
mov eax, dword [eax + 0x1424]
test eax, eax
je 0x4490d2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x4491d6
cmp dword [ebp - 0x238], 0
je 0x449101
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a0a0
mov edi, dword [ebp - 0x24c]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x240]
push eax
push esi
call ebx
test eax, eax
je 0x449144
cmp dword [ebp - 0x238], 0
je 0x449130
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a0a0
lea eax, [ebp - 0x240]
push eax
push esi
call ebx
test eax, eax
jne 0x449115
mov edi, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x250]
mov eax, edx
sub eax, edi
sar eax, 2
push eax
call fcn.0044a300
add esp, 8
lea eax, [ebp - 0x24c]
push eax
call fcn.00448680
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4491a0
push edi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov eax, dword [0x5ba188]
mov eax, dword [eax + 0x1424]
test eax, eax
je 0x4491b6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
push 0x4499e0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0
call fcn.00449b80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
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.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x449b80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x449c10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp + 8]
neg eax
push 0
sbb eax, eax
push 0
and eax, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1c]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4

Function at 0x44d570
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560508
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5b3680]
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 edi, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 3
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x44d612
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
push eax
push 0xc
lea eax, [ebp - 0x1c]
mov dword [edi], 0xffffffff
push eax
push 0
push 0
push 0x2d1080
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push esi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44d612
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x44d612
mov dword [edi], eax
mov bl, 1
jmp 0x44d614
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44d62d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
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.005295e2
mov esp, ebp
pop ebp
ret
Function at 0x44d650
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560551
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5b3680]
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 eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
xor bl, bl
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], 1
push esi
push 0x80
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44d6c5
call fcn.004160c0
test eax, eax
js 0x44d74a
jmp 0x44d6cd
mov esi, eax
mov dword [ebp - 0x424], esi
push 0x3ff
lea eax, [ebp - 0x40f]
mov dword [ebp - 0x41c], 0
push 0
push eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x410], 0
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x40c], 0x400
lea eax, [ebp - 0x428]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44d74a
mov al, byte [ebp - 0x408]
mov bl, 1
mov byte [edi], al
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44d766
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x424], 0
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.005295e2
mov esp, ebp
pop ebp
ret 8
Function at 0x44e070
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560750
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x40], 0
push 0
test esi, esi
je 0x44e1f1
lea ecx, [edi + 0x64]
push 0x581a44
call fcn.00402600
lea ebx, [edi + 8]
mov dword [edi + 0xc], 2
push ebx
push dword [edi + 4]
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push esi
mov ecx, edi
call fcn.0044ecb0
mov esi, eax
mov dword [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x14], eax
mov eax, 0x85
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
lea ecx, [eax - 0x80]
push ebx
push dword [edi + 4]
test esi, esi
jne 0x44e167
cmp byte [edi + 0xb4], 0
mov dword [edi + 0xc], 1
cmovne eax, ecx
mov dword [edi + 0x10], eax
mov eax, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0xb4], 0
mov dword [edi + 0xc], 4
cmovne eax, ecx
mov dword [edi + 0x10], eax
mov eax, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call eax
push dword [edi + 4]
lea ecx, [edi + 0x168]
call fcn.0044b570
mov dword [esp + 0x14], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x18]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
push 0x5834d8
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x44e1d5
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x5834cc
jmp 0x44e255
call fcn.0044ecb0
mov dword [esp + 0x14], reloc.WS2_32.dll_accept
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 1
lea eax, [esp + 0x18]
push 0
push eax
push 0
push 3
push 0
push 0
push 0
push 0x5834d8
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x44e23b
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push 0x5834c0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44e266
push eax
call esi
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44e285
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44ecb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 1
lea eax, [ebp - 0x20]
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov word [ebp - 0xf], 0
push eax
mov esi, ecx
mov byte [ebp - 0xd], 0
movdqu xmmword [ebp - 0x1f], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0xc
movq qword [ebp - 8], xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
je 0x44ed10
push 0x583460
jmp 0x44ed15
push 0x583408
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x44ed2e
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 0x30]
push eax
push 0
push dword [ebp + 8]
push 0x44f130
push 0
push 0
call fcn.0052cf98
xor ecx, ecx
mov dword [esi + 0x24], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44fb20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560ac2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b3680]
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 [ebp - 4], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x11
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xa
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x10], 0x3f400000
mov dword [edi + 0x14], 0x3e800000
mov dword [edi + 0x18], 0x40100000
mov dword [edi + 0x1c], 0x26
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0x11
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0xa
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x40], 0x3f400000
mov dword [edi + 0x44], 0x3e800000
mov dword [edi + 0x48], 0x40100000
mov dword [edi + 0x4c], 0x26
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 3
lea eax, [edi + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push eax
call esi
test eax, eax
jne 0x44fc33
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44fc2d
movzx eax, ax
or eax, 0x80070000
push eax
call fcn.004027b0
mov byte [ebp - 4], 4
lea eax, [edi + 0x7c]
push 0
push eax
call esi
test eax, eax
jne 0x44fc5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44fc55
movzx eax, ax
or eax, 0x80070000
push eax
call fcn.004027b0
mov byte [ebp - 4], 5
lea esi, [edi + 0x94]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov byte [ebp - 4], 7
push 0
push 0
push 0
mov dword [edi + 0x98], 0
push 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
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 0x44fda0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560b50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
movss dword [ebp - 0x14], xmm3
mov esi, ecx
mov dword [ebp - 4], 0
wait
cmp dword [esi], 0
je 0x44fdf9
mov eax, 1
wait
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 dword [esi + 0xac], 0
mov edi, dword [ebp + 8]
test edi, edi
jne 0x44fe1a
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
lea edi, [eax + eax]
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
cmova edi, ebx
push edi
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi], eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44fe4d
movzx eax, ax
or eax, 0x80070000
xor ecx, ecx
cmp dword [ebp + 8], ecx
cmove ecx, eax
xor eax, eax
test ecx, ecx
setns al
test eax, eax
jne 0x44fe66
push ecx
call fcn.004027b0
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0xa8], xmm0
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], edi
push edi
mov ecx, esi
call fcn.0044ff00
xor eax, eax
wait
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 0x44ff00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560b99
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea eax, [edi + 0x64]
mov dword [esp + 0x1c], eax
push eax
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
mov dword [esp + 0x30], 0
cmp dword [ebp + 8], 0
mov dword [esp + 0x10], 0
jle 0x45008e
push 0x14
call fcn.00529b2d
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], 1
test esi, esi
je 0x44ffb9
mov dword [esi], vtable.SecC::CBindCallback.0
mov dword [esi + 4], 0
mov byte [esp + 0x30], 2
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esp + 0x30], 3
push ecx
push edi
mov ecx, esi
call fcn.004518c0
mov byte [esp + 0x30], 1
jmp 0x44ffbb
xor esi, esi
mov byte [esp + 0x30], 0
mov ecx, esi
call fcn.004348b0
xor ebx, ebx
mov dword [esp + 0x14], eax
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44ffe4
movzx eax, ax
or eax, 0x80070000
test ebx, ebx
je 0x450088
push 0xffffffffffffffff
push dword [edi + 0x94]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x450011
movzx eax, ax
or eax, 0x80070000
test esi, esi
je 0x450088
mov esi, dword [edi + 0x98]
xor edx, edx
mov ecx, dword [edi + 0xc]
mov eax, esi
div ecx
mov eax, dword [edi + 4]
mov ebx, edx
test eax, eax
je 0x450046
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x450055
cmp dword [eax + 0xc], esi
jne 0x45003d
cmp dword [eax], esi
je 0x450060
mov eax, dword [eax + 8]
test eax, eax
jne 0x450034
jmp 0x450055
push 1
push ecx
lea ecx, [edi + 4]
call fcn.00432c20
test al, al
je 0x45007e
push esi
push ebx
push esi
lea ecx, [edi + 4]
call fcn.00451430
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebx
mov dword [eax + 4], ecx
mov dword [esp + 0x10], ebx
cmp ebx, dword [ebp + 8]
jge 0x45008e
mov edi, dword [esp + 0x18]
jmp 0x44ff64
push 0x8007000e
call fcn.004027b0
push eax
call fcn.004027b0
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4500c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [edi], 0
je 0x45019c
push 1
lea eax, [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ecx
mov ecx, edi
call fcn.00450670
cmp dword [edi + 8], 0
je 0x450131
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [edi + 0xc]
jae 0x450131
mov eax, dword [edi + 4]
mov esi, dword [eax + ecx*4]
test esi, esi
jne 0x450137
inc ecx
jmp 0x45011c
xor esi, esi
test esi, esi
je 0x450186
mov ebx, dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi], eax
je 0x45014d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45015b
mov dword [ebp - 0x14], ecx
mov esi, ecx
jmp 0x450133
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
xor edx, edx
div ebx
inc edx
mov dword [ebp - 0x1c], edx
test ecx, ecx
jne 0x450157
cmp edx, ebx
jae 0x450157
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x45016a
lea ecx, [edi + 4]
call fcn.00450970
mov ecx, edi
call fcn.004161a0
mov dword [ebp - 4], 0xffffffff
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 0x450670
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x64]
mov dword [esp + 0x2c], eax
push eax
mov byte [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x30], 1
mov dword [esp + 0x40], 0
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x450829
nop
push 0xffffffffffffffff
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
neg eax
sbb eax, eax
neg eax
je 0x45085c
push 0x8ca0
push dword [ebx + 0x94]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov esi, eax
cmp esi, 0xffffffff
setne cl
test ecx, ecx
je 0x45085c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x8ca0
jae 0x450829
cmp esi, 0x102
je 0x450816
mov ecx, dword [ebx + 0x98]
xor edx, edx
mov esi, dword [ebx + 4]
mov eax, ecx
div dword [ebx + 0xc]
test esi, esi
je 0x450816
mov esi, dword [esi + edx*4]
test esi, esi
je 0x450816
cmp dword [esi + 0xc], ecx
jne 0x45076a
cmp dword [esi], ecx
je 0x450776
mov esi, dword [esi + 8]
test esi, esi
jne 0x450761
jmp 0x450816
test esi, esi
je 0x450816
lea edi, [ebx + 0x7c]
mov dword [esp + 0x24], edi
push edi
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x28], 1
mov byte [esp + 0x40], 1
lea ecx, [ebx + 0x34]
push dword [esi]
call fcn.00450ae0
cmp dword [eax], 0
je 0x4507bd
mov byte [esp + 0x40], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x28], 0
jmp 0x450816
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push edi
mov byte [esp + 0x30], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x4507f6
push 0x8ca0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x8ca0
jae 0x450855
push dword [esi]
lea ecx, [ebx + 4]
call fcn.004508f0
mov byte [esp + 0x40], 0
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x1c]
jl 0x4506e0
mov dword [esp + 0x40], 0xffffffff
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x40], 0
jmp 0x450829
push 0x80004005
call fcn.004027b0
int3