Function at 0x55755a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x744798
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov edx, dword [esi + 0x8c]
mov eax, edx
shr eax, 0x18
xor ebp, ebp
sub eax, ebp
push edi
je 0x557594
sub eax, 1
je 0x557586
sub eax, 1
jne 0x5575e8
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x5575a0
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x5575a0
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
cmp eax, ebp
je 0x5575e8
lea ecx, [eax - 0x18]
cmp ecx, ebp
je 0x5575e8
mov edx, dword [ecx]
call dword [edx + 0x24]
mov edi, eax
cmp edi, ebp
je 0x5575e8
mov eax, dword [esi + 0x88]
push eax
mov ecx, edi
call fcn.0055e0f0
push edi
call fcn.005770a0
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov ecx, dword [esi + 0x8c]
push ecx
mov ecx, dword [0x912e94]
call fcn.004668b0
cmp eax, ebp
je 0x557692
lea ecx, [eax - 0x18]
cmp ecx, ebp
je 0x557692
mov edx, dword [ecx]
call dword [edx + 0x30]
mov edi, eax
cmp edi, ebp
je 0x557692
mov eax, dword [esi + 0x80]
cmp eax, ebp
je 0x557692
mov al, byte [eax + 0x8c4]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x1ac]
cmp ax, 4
jne 0x557692
mov cl, byte [esi + 0x86]
mov edx, dword [esi + 0x80]
mov al, byte [edx + 0x8c4]
push 1
push ebp
push 0x41
push ecx
mov ecx, dword [0x914298]
push eax
call fcn.005ced80
mov ecx, dword [esi + 0x88]
mov ebx, dword [edi]
imul ecx, eax
mov eax, 0x51eb851f
mul ecx
push 4
shr edx, 5
push edx
mov ecx, edi
call dword [ebx + 0x210]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov edx, dword [esi + 0x8c]
mov ecx, dword [0x912e94]
push edx
call fcn.004668b0
cmp eax, ebp
je 0x55771c
lea ecx, [eax - 0x18]
cmp ecx, ebp
je 0x55771c
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
cmp edi, ebp
je 0x55771c
test byte [edi + 0x21], 0x80
jne 0x55771c
mov ecx, dword [edi + 0x44]
cmp ecx, ebp
je 0x5576d2
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp ax, 0x64
je 0x55771c
mov eax, dword [edi + 0x14]
test byte [eax + 0x8e6], 1
je 0x55771c
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x148]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
mov edx, eax
imul edx, eax
mov eax, ecx
imul eax, ecx
add edx, eax
cmp edx, 0x100
jge 0x55771c
mov edx, dword [edi]
push ebp
push 0x320
mov ecx, edi
call dword [edx + 0x238]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], vtable.CBSList_class_CMapObj__.0
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
push ebp
push ebp
lea eax, [esp + 0x38]
push eax
sub esp, 0x10
mov eax, esp
lea edi, [ecx - 0x20]
mov dword [eax], edi
lea edi, [edx - 0x20]
add ecx, 0x20
add edx, 0x20
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x24]
mov edi, dword [ecx]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x3c], esp
call fcn.006b92b0
mov ecx, dword [esi + 0x24]
push eax
call dword [edi + 0x168]
cmp dword [esp + 0x34], ebp
je 0x5578a3
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
test ecx, ecx
je 0x55779a
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x38]
jmp 0x55779c
xor edi, edi
test eax, eax
je 0x5577c2
mov ecx, eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x38], eax
jne 0x5577b1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x34]
call dword [eax + 0x64]
sub dword [esp + 0x34], 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x78]
test eax, eax
je 0x5577dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x23c]
jmp 0x557898
test byte [edi + 0x21], 0x80
jne 0x557898
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x5577fc
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp ax, 0x64
je 0x557898
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [esi + 0x80]
push eax
call fcn.006ba5c0
add esp, 8
test eax, eax
je 0x557898
cmp word [esi + 0x84], 0
je 0x557852
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xdc]
cmp ax, word [esi + 0x84]
jne 0x557852
mov ecx, dword [0x912e94]
mov eax, dword [ecx]
push 0x3be
push 0x7c0b1c
push 0x64
push 0
call dword [eax + 0x40]
cmp eax, 0x32
jl 0x557898
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [edx + 0x148]
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x148]
mov ecx, dword [ebx]
mov edx, eax
sub ecx, dword [edx]
mov eax, dword [ebx + 4]
sub eax, dword [edx + 4]
mov edx, ecx
imul eax, eax
imul edx, ecx
add eax, edx
test ebp, ebp
je 0x557892
cmp eax, dword [esp + 0x20]
jge 0x557898
mov ebp, edi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], 0
jne 0x557783
mov eax, 1
add dword [0x9099f0], eax
test ebp, ebp
jne 0x5578b8
add dword [0x9099f4], eax
mov eax, dword [esi + 0x14]
push 0
push 0x860f54
push 0x85e1e4
push 0
push eax
mov dword [esp + 0x2c], str.ground_proj
call fcn.0071f44c
add esp, 0x14
cmp dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
je 0x557996
mov eax, dword [esi + 0x24]
mov edi, dword [eax + 0x5c]
mov edx, dword [esi]
sub esp, 8
lea eax, [esp + 0x30]
mov dword [esp + 0x5c], esp
mov ebx, esp
push eax
mov ecx, esi
call dword [edx + 0x148]
mov ecx, eax
mov eax, dword [ecx + 4]
cdq
idiv edi
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
cdq
idiv edi
mov ecx, dword [esp + 0x5c]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
call dword [edx + 0xe0]
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx]
movzx eax, al
push eax
call dword [edx + 0x20]
test eax, eax
je 0x55797e
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x164]
mov edx, dword [ecx]
call dword [edx + 4]
xor edx, edx
mov ecx, 0xb
div ecx
cmp edx, 2
jge 0x557974
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x114]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], str.water
jmp 0x557996
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
push 2
lea eax, [ecx + 0x10c]
push eax
call dword [edx + 0x60]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x557c1e
mov eax, dword [ebp + 0x14]
mov cl, byte [eax + 0x8c4]
mov byte [esp + 0x54], cl
push 1
mov ecx, ebp
call fcn.006bd120
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x80]
push eax
mov al, byte [esi + 0x86]
push edx
mov dl, byte [ecx + 0x8c4]
mov ecx, dword [0x914298]
push eax
push edx
call fcn.005ced80
mov ecx, dword [esi + 0x88]
imul ecx, eax
mov eax, 0x51eb851f
mul ecx
mov edi, edx
mov ecx, ebp
shr edi, 5
call fcn.006bca30
test eax, eax
je 0x557a0b
test byte [eax + 0x154], 0x20
je 0x557a0b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov edx, dword [esi + 0x80]
test byte [edx + 0x8e5], 2
je 0x557a7b
cmp word [ebp + 0x64], 0
je 0x557a28
mov eax, 0x28
jmp 0x557a63
mov eax, dword [esi + 0x50]
sub eax, dword [esi + 0x54]
cmp eax, 0xffffff6a
jge 0x557a3c
mov eax, 0xffffff6a
jmp 0x557a8f
cmp eax, 0x96
jle 0x557a8b
mov eax, 0x96
lea edx, [eax + eax*2]
lea ecx, [eax + edx*8]
add ecx, ecx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 0x64]
imul eax, edi
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, ebp
call fcn.006bca30
test eax, eax
je 0x557ab1
mov ebx, dword [eax + 0x1c]
jmp 0x557ab3
test eax, eax
jge 0x557a48
lea ecx, [eax + eax*2]
lea ecx, [eax + ecx*8]
mov eax, 0xe4b17e4b
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x64
sub eax, ecx
jmp 0x557a63
xor ebx, ebx
push ebp
call fcn.00659190
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
add esp, 4
test byte [eax + 0x8e5], 1
je 0x557aef
mov edx, dword [ebp]
push 0
push edi
mov ecx, ebp
mov dword [esp + 0x20], str.kill
mov dword [esp + 0x18], 0
call dword [edx + 0x238]
jmp 0x557c1e
mov ecx, dword [esi + 0xa4]
mov eax, dword [ebp]
push ecx
push edi
mov ecx, ebp
call dword [eax + 0x238]
test eax, eax
je 0x557c1e
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x18], str.kill
mov dword [esp + 0x10], 0
call dword [edx + 0x74]
test eax, eax
je 0x557c1e
mov ecx, dword [0x912e94]
push ebx
call fcn.004668b0
test eax, eax
je 0x557b4a
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x557b4a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
jmp 0x557b4c
xor edi, edi
cmp dword [esp + 0x54], 0
je 0x557c1e
test edi, edi
je 0x557c1e
mov ecx, dword [edi + 0xd4]
test ecx, ecx
mov edx, dword [0x914298]
mov ebx, dword [edx + 0xdc18]
mov eax, 3
je 0x557ba5
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x557ba5
mov eax, dword [esp + 0x54]
cmp ecx, dword [eax + 0x19c]
jne 0x557b9a
mov ebx, dword [edx + 0xdc20]
mov eax, 5
jmp 0x557ba5
mov ebx, dword [edx + 0xdc1c]
mov eax, 4
mov ecx, dword [edi + 0xd8]
push eax
push ecx
call fcn.00576280
mov edx, dword [edi + 0xd8]
mov ecx, dword [0x912e94]
add esp, 8
push edx
call fcn.004668b0
test eax, eax
je 0x557c1e
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x557c1e
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebp, eax
test ebp, ebp
je 0x557c1e
mov ecx, dword [ebp + 0xb4]
push ecx
mov ecx, dword [0x912e94]
call fcn.004668b0
test eax, eax
je 0x557c1e
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x557c1e
mov edx, dword [ecx]
call dword [edx + 0x28]
mov edi, eax
test edi, edi
je 0x557c1e
mov ecx, ebp
call fcn.00559bf0
test eax, eax
je 0x557c18
add dword [edi + 0x2cc], ebx
jmp 0x557c1e
add dword [edi + 0x2c8], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push 0
push 0
push 0x66
push ecx
mov ecx, esi
call dword [eax + 0x17c]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x557cbf
push 0
push 0x85e1e4
push 0x85e1c8
push 0
push str.map_anim
call fcn.005ff5f0
mov ecx, dword [0x914298]
push eax
call fcn.005cc2a0
push eax
call fcn.0071f44c
mov edi, eax
add esp, 0x14
test edi, edi
je 0x557cbf
mov edx, dword [esi]
push 0
push 0x861014
push 0x85da04
push 0
push 0
push 0
sub esp, 8
mov eax, esp
mov dword [esp + 0x74], esp
push eax
mov ecx, esi
call dword [edx + 0x148]
mov ecx, dword [esi + 0x24]
push ecx
push edi
call fcn.00603a80
add esp, 0x18
push eax
call fcn.0071f44c
mov edx, dword [eax]
add esp, 0x14
push 0xffffffffffffffff
push 0
push 0
push ebx
mov ecx, eax
call dword [edx + 0x1b4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0048ae20
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 4