joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53ccd0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b9d4b
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 0x54fb30
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5bb34d
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 0x54fb95
push edi
mov eax, dword [esi + 0x38]
mov edi, dword [eax + ebp*4]
test edi, edi
mov dword [esp + 0x10], edi
je 0x54fb8c
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 0x54fb5c
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], 0x5cda8c
test eax, eax
je 0x54fc2e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esi + 0x34], 0x5c2040
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 0x5583b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bba28
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.004ea7d0
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 0x55843e
cmp eax, edi
je 0x558433
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 0x558529
cmp eax, edi
jne 0x558476
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 0x558529
mov ecx, dword [ebx + 0x14]
cmp ebp, ecx
jg 0x558494
cmp ebp, edx
jle 0x55848c
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 0x558529
mov eax, dword [ebx + 0x18]
cmp eax, edi
jne 0x5584be
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5584b2
mov eax, 4
jmp 0x5584be
cmp eax, 0x400
jle 0x5584be
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x30], eax
jl 0x5584cc
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 + 0x4078], 1
mov dword [ebx + 0x4058], 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 0x55aff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bbcc8
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.00529cd0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x1c], eax
add eax, 0x1a8c
push 0x4c
mov dword [esp + 0x18], ebx
mov dword [esi], 0x5cdbb8
mov dword [esi + 0x20], eax
mov dword [esi + 0x4058], ebx
mov dword [esi + 0x405c], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x55b0a4
mov ecx, 0x5cd3cc
mov dword [eax], 0x5cd7cc
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 + 0x4060], 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 + 0x4060], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x55d2a0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5bbf85
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.00529cd0
xor ebx, ebx
lea ecx, [edi + 0x4058]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x406c]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 0x4078]
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], 0x5cd7b8
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], 0x5cdbe0
mov dword [edi + 0x4070], ebx
mov dword [edi + 0x4074], ebx
mov byte [edi + 0x40e8], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x572970
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bd4a7
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 [0x62fc5c]
mov edx, dword [0x602620]
xor ecx, ecx
mov byte [esp + 0x18], al
mov eax, dword [0x60261c]
mov word [esp + 0x19], cx
mov byte [esp + 0x1b], cl
mov ecx, dword [0x602618]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
mov edx, dword [0x602610]
mov dword [esp + 0x20], eax
mov eax, dword [0x602614]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x60260c]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x28], edx
mov edx, dword [0x602604]
mov dword [esp + 0x2c], eax
mov eax, dword [0x602608]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x602600]
mov dword [esp + 0x34], edx
mov edx, dword [0x6025f8]
mov dword [esp + 0x38], eax
mov eax, dword [0x6025fc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x6025f4]
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 0x572a8b
test ebx, ebx
jle 0x572a8b
cmp ebx, 0xc
jge 0x572a8b
test esi, esi
jle 0x572a8b
cmp esi, 0x20
jge 0x572a8b
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 0x572da0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5bd5f7
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 0x576d20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bdb5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [0x62fc5c]
mov edx, dword [0x602620]
xor ecx, ecx
mov byte [esp + 4], al
mov eax, dword [0x60261c]
mov word [esp + 5], cx
mov byte [esp + 7], cl
mov ecx, dword [0x602618]
mov dword [esp + 8], edx
mov edx, dword [0x602610]
mov dword [esp + 0xc], eax
mov eax, dword [0x602614]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x60260c]
push ebx
mov dword [esp + 0x18], edx
mov edx, dword [0x602604]
mov dword [esp + 0x1c], eax
mov eax, dword [0x602608]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x602600]
push ebp
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], edx
mov edx, dword [0x6025f8]
mov dword [esp + 0x30], eax
mov eax, dword [0x6025fc]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x6025f4]
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 0x576e3d
test ebx, ebx
jle 0x576e3d
cmp ebx, 0xc
jg 0x576e3d
test esi, esi
jle 0x576e3d
cmp esi, 0x1f
jg 0x576e3d
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 0x586150
Capabilities:
Create thread

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

Function at 0x5865a0
Capabilities:
Terminate thread

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

Function at 0x5865e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
jmp 0x5865f0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x586620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
jmp 0x586612
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x58bf80
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5bfa30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push 1
push str.SOFTWAREETermProxy
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::constructor_char___bool_
push str.software_version
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call sym.ETermProxy.exe_public:_char____thiscall_CRWReg::ReadString_char__
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x40]
lea ecx, [esp + 4]
push eax
push str.db_s
push ecx
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 8]
push str.db_bak_ver_s__s
push ecx
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::CFileFind
mov edx, dword [esp]
push 0
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x58c054
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.00592c8a
lea ecx, [esp]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call sym.ETermProxy.exe_public:_void___thiscall_CRWReg::destructor_void_
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x3c
ret 4