Function at 0x464270
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor esi, esi
lea edx, [esp + 0x80]
push edx
push esi
mov dword [eax], esi
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
push esi
push edi
push eax
mov edx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], 0x68
call fcn.0046e240
push ebx
push 0x4c9b5c
push str.Logs_Profiling_File_SFileOpenFileEx.log
push 3
mov dword [esp + 0x30], eax
call fcn.004641b0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, 4
ja case.default.0x4642f6
jmp dword [eax*4 + 0x4647d8]
mov dword [esp + 0x1c], 2
jmp case.default.0x4642f6
push 0
push 0x2c
lea ecx, [esp + 0x78]
push 0x230
push ecx
call fcn.0044c600
mov edx, dword [eax]
mov eax, dword [eax + 4]
and edi, 4
or edi, 2
shr edi, 1
or edi, 0x1004
mov dword [esp + 0x24], eax
mov eax, edi
add esp, 0x10
test al, 0x40
mov dword [esp + 0x10], edx
push eax
je 0x464356
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00452040
jmp 0x464367
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x18]
call fcn.0044ebd0
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x84]
push ecx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00450570
mov esi, eax
mov dword [esp + 0x18], 2
jmp 0x464690
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00447920
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x4643b5
mov dword [esp + 0x1c], 0x3ee
jmp case.default.0x4642f6
xor edx, edx
test eax, 0xfff00
mov dword [esp + 0x20], edx
jne 0x464482
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x34], edi
je 0x4643dd
mov dword [esp + 0x1c], 0x3ee
jmp case.default.0x4642f6
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x18]
lea ecx, [eax + 0xc]
call fcn.004445e0
push edx
push 0x24
push 0x38
push 0x30
lea edx, [esp + 0x88]
push 0x15c
push edx
call fcn.0044c600
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
add esp, 0x18
mov dword [esp + 0x14], edx
xor esi, esi
mov ecx, edi
add ecx, dword [esp + 0x2c]
mov edx, esi
adc edx, eax
push edx
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x18]
push eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call fcn.00452b20
push eax
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x50]
push esi
neg edx
sbb edx, edx
push esi
and edx, 0x4437b0
push edi
lea ecx, [esp + 0x24]
call fcn.0044fcd0
push eax
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.0044ec70
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00454a40
jmp 0x464676
test eax, 0xf0000
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
je 0x4644c7
mov ecx, ebx
call fcn.00444950
mov edx, 3
mov ecx, eax
call fcn.00443150
test dword [esp + 0x3c], 0x20000
mov dword [esp + 0x18], eax
je 0x4644c7
mov edx, dword [esp + 0xc]
mov ecx, edi
sub ecx, dword [edx + 0x58]
add ecx, eax
xor ecx, esi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
lea ecx, [eax + 0xc]
call fcn.004445e0
push 0
push 0x24
push 0x80
push 0x38
push 0x64
push 0x30
lea ecx, [esp + 0x80]
push 0x15c
push ecx
call fcn.0044c600
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add esp, 0x20
test eax, 0x1000000
mov dword [esp + 0x10], edx
je 0x4645b4
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edx, edx
add ecx, edi
adc edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x18]
push edi
lea ecx, [esp + 0x20]
call fcn.00452b20
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.0044fe60
mov edx, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
neg edx
sbb edx, edx
push 0
and edx, 0x4437b0
push esi
lea ecx, [esp + 0x24]
call fcn.0044fcd0
push eax
push 1
push 1
push 0
push 0
push 1
push 0
push 0
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.0044f640
push eax
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.0044ec70
mov edx, dword [esp + 0x28]
push eax
push edx
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x1c]
call fcn.00454a40
jmp 0x464676
test eax, 0x4000000
jne 0x4645c6
cmp dword [esp + 0x48], 0
je 0x4645c6
mov bl, 1
jmp 0x4645c8
xor bl, bl
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ecx, ecx
add eax, edi
adc ecx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [eax + 0x18]
push edi
lea ecx, [esp + 0x20]
call fcn.00452b20
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x78]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
mov edx, esi
lea ecx, [esp + 0x24]
call fcn.0044fd70
neg bl
push eax
lea edx, [esp + 0x24]
push edx
push 0
push 0
push esi
sbb ebx, ebx
and ebx, 0x4437b0
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.0044fcd0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x78]
push eax
push 1
push 1
push 1
push 1
push 1
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.0044f640
push eax
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.0044ec70
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00454a40
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov esi, eax
je 0x464688
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push esi
call eax
mov dword [esp + 0x18], 1
test esi, esi
je case.default.0x4642f6
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4646cd
call fcn.00463cb0
test al, al
jne 0x4646cd
test esi, esi
mov ecx, dword [esp + 0x1c]
mov dword [0x4e4928], ecx
mov dword [esp + 0x18], 0
je 0x4647b5
mov ecx, esi
call fcn.0044c550
xor esi, esi
jmp 0x4647b5
cmp dword [esp + 0x18], 0
je 0x4647b5
call fcn.004632b0
mov edi, eax
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x194], 0
call fcn.00463260
mov edx, dword [eax + 0x108]
mov eax, dword [eax + 0x10c]
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x198], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x464730
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call eax
call fcn.00463260
cmp dword [eax + 0x110], 1
jne 0x4647b5
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
test al, al
je 0x4647b5
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0044ac00
mov edi, eax
push edi
push 0
call fcn.00463260
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [eax + 0x114]
push edx
mov dl, 1
call fcn.0044fd00
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebx
call edx
mov edx, ebx
mov ecx, esi
call fcn.0044ac40
test edi, edi
je 0x46479e
test al, al
jne 0x4647b5
lea ecx, [edi + 0xc]
call fcn.004445e0
mov ecx, ebx
call fcn.0044c550
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18c]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc