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

Disassembly:
push 0xffffffffffffffff
push 0x5bce46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], edi
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x5d266c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x52c590
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push 0x63aaf8
push 0x52c5d0
push 0
push 0
mov dword [0x63aaf8], esi
mov byte [0x63aafc], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov dword [esi + 4], eax
test eax, eax
setne dl
mov al, dl
pop esi
ret 4

Function at 0x52c650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bcfa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], 0x5d0d98
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x3c]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x18], 4
mov dword [esi], 0x5d26bc
mov dword [esi + 4], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], 1
mov byte [esi + 0x31], bl
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x40], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x53e7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5be678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0052c650
xor edi, edi
lea ecx, [esi + 0x4078]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword [esi + 0x4068], edi
mov dword [esi + 0x4070], edi
mov dword [esi + 0x406c], edi
mov dword [esi + 0x4064], edi
mov dword [esi + 0x4060], edi
mov byte [esi + 0x30], al
mov byte [esi + 0x4074], al
mov dword [esi + 0x407c], edi
mov dword [esi], 0x5d2828
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x53f5c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5be7eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 4]
mov byte [esp + 0x1c], 0xa
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 8]
mov byte [esp + 0x1c], 0xb
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 0xc
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 0x10
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 0x11
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 0x12
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x24]
mov ecx, esi
push eax
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x38]
push edx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x18]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x44]
lea ecx, [esi + 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x48]
lea ecx, [esi + 0x24]
push eax
call sub.MFC42.DLL_CString::operator_1
xor bl, bl
lea ecx, [esp + 0x24]
mov byte [esi + 0x28], bl
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x552240
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5bfded
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
mov dword [esp + 8], esi
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp dword [esi + 0x3c], ebp
jle 0x5522a5
push edi
mov eax, dword [esi + 0x38]
mov edi, dword [eax + ebp*4]
test edi, edi
mov dword [esp + 0x10], edi
je 0x55229c
lea ecx, [edi + 4]
mov byte [esp + 0x1c], 0x18
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x1c], 0x17
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esi + 0x3c]
inc ebp
cmp ebp, eax
jl 0x55226c
pop edi
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [esp + 0x18], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], 0x5d2aac
test eax, eax
je 0x55233e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esi + 0x34], 0x5c7050
mov byte [esp + 0x18], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x55b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c0548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
xor edi, edi
push str.XS_FSQ_d
push ecx
mov dword [esp + 0x34], edi
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb710
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x55b22e
cmp eax, edi
je 0x55b223
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
jmp 0x55b319
cmp eax, edi
jne 0x55b266
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x10], ebp
jmp 0x55b319
mov ecx, dword [ebx + 0x14]
cmp ebp, ecx
jg 0x55b284
cmp ebp, edx
jle 0x55b27c
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x10], ebp
jmp 0x55b319
mov eax, dword [ebx + 0x18]
cmp eax, edi
jne 0x55b2ae
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x55b2a2
mov eax, 4
jmp 0x55b2ae
cmp eax, 0x400
jle 0x55b2ae
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x30], eax
jl 0x55b2bc
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x10]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [edx + esi*4], eax
mov byte [ebx + 0x4080], 1
mov dword [ebx + 0x405c], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x55dee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c07e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0052c650
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x1c], eax
add eax, 0x1a90
push 0x4c
mov dword [esp + 0x18], ebx
mov dword [esi], 0x5d2c00
mov dword [esi + 0x20], eax
mov dword [esi + 0x405c], ebx
mov dword [esi + 0x4060], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x55df94
mov ecx, 0x5d23ec
mov dword [eax], 0x5d27ec
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x14], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x48], ebx
mov dword [eax + 0x44], ebx
mov dword [esi + 0x4064], eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4064], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x560190
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c0aa5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0052c650
xor ebx, ebx
lea ecx, [edi + 0x405c]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x4070]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 0x407c]
mov byte [esp + 0x24], 2
mov ecx, esi
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x24], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x24], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x24], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x24], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x24], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x24], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x34]
mov byte [esp + 0x24], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x38]
mov byte [esp + 0x24], 0x10
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x24], 0x11
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x40]
mov byte [esp + 0x24], 0x12
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x44], 0x5d27d8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
lea ebp, [esi + 0x58]
mov byte [esp + 0x24], 0x14
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 4]
mov byte [esp + 0x24], 0x15
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x60]
mov byte [esp + 0x24], 0x16
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 4]
mov byte [esp + 0x24], 0x17
call sub.MFC42.DLL_CString::CString_1
add esi, 0x68
mov byte [esp + 0x24], 0x18
mov ecx, esi
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x24], 0x19
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x1c]
mov dword [edi], 0x5d2c28
mov dword [edi + 0x4074], ebx
mov dword [edi + 0x4078], ebx
mov byte [edi + 0x40ec], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x575e90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c1fc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov al, byte [0x63547c]
mov edx, dword [0x607638]
xor ecx, ecx
mov byte [esp + 0x18], al
mov eax, dword [0x607634]
mov word [esp + 0x19], cx
mov byte [esp + 0x1b], cl
mov ecx, dword [0x607630]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov edx, dword [0x607628]
mov dword [esp + 0x20], eax
mov eax, dword [0x60762c]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x607624]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x28], edx
mov edx, dword [0x60761c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x607620]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x607618]
mov dword [esp + 0x34], edx
mov edx, dword [0x607610]
mov dword [esp + 0x38], eax
mov eax, dword [0x607614]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x60760c]
push esi
mov dword [esp + 0x58], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call edi
cdq
mov ecx, 0x64
idiv ecx
mov ebp, edx
lea edx, [esi + 5]
push edx
call edi
add esi, 8
mov ebx, eax
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
cmp ebp, 0x10
mov byte [esp + 0x54], 2
jl 0x575fab
test ebx, ebx
jle 0x575fab
cmp ebx, 0xc
jge 0x575fab
test esi, esi
jle 0x575fab
cmp esi, 0x20
jge 0x575fab
lea eax, [esp + ebx*4 + 0x18]
lea ecx, [esp + 0x10]
push eax
push esi
push str._02d_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x5762c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c2117
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x57b290
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c289f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [0x63547c]
mov edx, dword [0x607638]
xor ecx, ecx
mov byte [esp + 4], al
mov eax, dword [0x607634]
mov word [esp + 5], cx
mov byte [esp + 7], cl
mov ecx, dword [0x607630]
mov dword [esp + 8], edx
mov edx, dword [0x607628]
mov dword [esp + 0xc], eax
mov eax, dword [0x60762c]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x607624]
push ebx
mov dword [esp + 0x18], edx
mov edx, dword [0x60761c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x607620]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x607618]
push ebp
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], edx
mov edx, dword [0x607610]
mov dword [esp + 0x30], eax
mov eax, dword [0x607614]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x60760c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call edi
lea edx, [esi + 5]
mov ebp, eax
push edx
call edi
add esi, 8
mov ebx, eax
push esi
call edi
add esp, 0xc
lea ecx, [esp + 0x5c]
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
mov edi, 1
cmp ebp, 0x7c6
mov dword [esp + 0x50], edi
jle 0x57b3ad
test ebx, ebx
jle 0x57b3ad
cmp ebx, 0xc
jg 0x57b3ad
test esi, esi
jle 0x57b3ad
cmp esi, 0x1f
jg 0x57b3ad
mov eax, ebp
mov ecx, 0x64
cdq
idiv ecx
lea eax, [esp + 0x5c]
push edx
lea edx, [esp + ebx*4 + 0x18]
push edx
push esi
push str._02d_s_02d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x58a6b0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x58a6d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ecx
ret

Function at 0x58ab00
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0x443
mov eax, dword [esi + 0xc]
mov dword [esi], 0x5d3240
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esi, 0x18
lea ecx, [esi + 8]
mov dword [esi], 0x5d0d4c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.00597746
pop esi
ret

Function at 0x58ab40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
jmp 0x58ab50
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x58ab80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
jmp 0x58ab72
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret