Function at 0x46fd80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x56858c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov ecx, 0x56a4bc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], edi
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x46fe0d
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x46fe0d
mov edx, dword [eax + 0x14]
cmp edx, edi
je 0x46fe01
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x46fe0f
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x46fe0f
xor eax, eax
cmp byte [eax + 4], 0
jne 0x46fe63
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x74], 0x5299ac
push edi
mov byte [ebp - 4], 1
call dword [0x526278]
push eax
lea ecx, [ebp - 0x74]
call fcn.00442190
cmp eax, 2
jne 0x46fe52
push 0x5455d8
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x48], edi
call fcn.005036c5
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x46fe63
push eax
call fcn.0050321a
push 0x10
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x46fe81
mov ecx, eax
call fcn.004464a0
jmp 0x46fe83
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00440610
push 0x30
mov byte [ebp - 4], 3
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 4
cmp esi, edi
je 0x46fece
mov ecx, 0x56a4bc
call fcn.00416ad0
mov edx, dword [0x5699f4]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.0046f470
jmp 0x46fed0
xor eax, eax
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00440690
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
cmp dword [ecx], edi
jne 0x46fef4
xor eax, eax
jmp 0x46ff0b
cmp dword [ecx + 8], edi
je 0x46ff01
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
jmp 0x46ff03
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, dword [ecx]
cmp byte [eax + 0x14], 0
jne 0x46ff72
mov ecx, dword [ebp - 0x3c]
cmp ecx, edi
jne 0x46ff1c
xor esi, esi
jmp 0x46ff32
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x46ff28
mov eax, dword [eax + 0xc]
jmp 0x46ff2a
xor eax, eax
mov esi, dword [ebp - 0x38]
imul esi, eax
add esi, ecx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov edi, dword [0x5699f4]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x10]
push 0x10
push ecx
push 0x52a808
push eax
call dword [0x526380]
push 0x5455d8
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 1
call fcn.005036c5
mov ecx, 0x56a554
call fcn.00405790
mov edx, dword [0x5699e0]
mov esi, dword [edx + 4]
cmp esi, edi
jne 0x46ff8d
xor eax, eax
jmp 0x46ffa3
mov eax, dword [edx + 0xc]
cmp eax, edi
je 0x46ff99
mov ecx, dword [eax + 0xc]
jmp 0x46ff9b
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0xb8]
cmp eax, edi
je 0x470148
cmp dword [eax + 0x10], edi
je 0x470148
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, 0x56a554
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x524d42
call fcn.00405790
mov edx, dword [0x5699e0]
mov esi, dword [edx + 4]
cmp esi, edi
jne 0x46ffea
xor eax, eax
jmp 0x470000
mov eax, dword [edx + 0xc]
cmp eax, edi
je 0x46fff6
mov ecx, dword [eax + 0xc]
jmp 0x46fff8
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 0xb0]
cmp edx, edi
jne 0x47000e
xor eax, eax
jmp 0x47002a
mov ecx, dword [eax + 0xb8]
cmp ecx, edi
je 0x47001d
mov ecx, dword [ecx + 0xc]
jmp 0x47001f
xor ecx, ecx
mov eax, dword [eax + 0xb4]
imul eax, ecx
add eax, edx
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0043d630
mov esi, eax
cmp esi, edi
jne 0x4700ff
mov ecx, 0x56a554
call fcn.00405790
mov ecx, dword [0x5699e0]
add ecx, 4
call fcn.00406d00
mov eax, dword [eax + 0xb8]
cmp eax, edi
jne 0x470067
xor esi, esi
jmp 0x47006a
mov esi, dword [eax + 0x10]
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.00406d00
push esi
lea ecx, [eax + 0x24]
call fcn.00406ab0
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.00406d00
mov eax, dword [eax + 0x2c]
cmp eax, edi
je 0x4700a7
mov edi, dword [eax + 0x10]
mov ecx, 0x56a554
call fcn.00405790
mov ebx, dword [0x5699e0]
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.00406d00
push edi
push 0
lea ecx, [ebx + 4]
mov esi, eax
call fcn.00406d00
lea ecx, [eax + 0xb0]
call fcn.004832d0
push eax
push 0
lea ecx, [esi + 0x24]
call fcn.004832d0
push eax
call fcn.00504e30
mov ebx, dword [ebp - 0x30]
add esp, 0xc
xor edi, edi
jmp 0x470148
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.00406d00
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [eax + 0x24]
call fcn.00406ab0
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.00406d00
push edi
lea ecx, [eax + 0x24]
call fcn.004832d0
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00464b60
mov ecx, 0x56a554
call fcn.00405790
mov ecx, dword [0x5699e0]
mov edx, dword [ecx + 4]
cmp edx, edi
jne 0x470163
xor esi, esi
jmp 0x470179
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x47016f
mov eax, dword [eax + 0xc]
jmp 0x470171
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, dword [esi + 0xb8]
cmp ecx, edi
je 0x4701b3
dec dword [ecx + 4]
jne 0x4701a7
cmp byte [ecx + 8], 0
je 0x470194
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [esi + 0xb8]
cmp ecx, edi
je 0x4701a7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb0], edi
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jbe 0x470208
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x470208
mov edx, dword [eax + 0x2c]
cmp edx, edi
je 0x4701fc
mov eax, dword [eax + 0x28]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x47020a
mov eax, dword [eax + 0x28]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x47020a
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 4
jbe 0x470273
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x30]
cmp ecx, edi
jne 0x47024f
xor eax, eax
mov esi, eax
jmp 0x470275
mov edx, dword [eax + 0x38]
cmp edx, edi
je 0x470265
mov eax, dword [eax + 0x34]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x470275
mov eax, dword [eax + 0x34]
xor edx, edx
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x470275
xor esi, esi
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
cmp dword [ecx], edi
jne 0x47028d
xor eax, eax
jmp 0x4702a4
cmp dword [ecx + 8], edi
je 0x47029a
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
jmp 0x47029c
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, dword [ecx]
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x4702af
xor eax, eax
jmp 0x4702b2
mov eax, dword [eax + 0x10]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
mov ecx, esi
call eax
call fcn.00460440
mov byte [ebx + 0x1b1], 1
call fcn.0045ce80
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx]
cmp esi, edi
jne 0x4702ec
xor eax, eax
jmp 0x470302
mov eax, dword [edx + 8]
cmp eax, edi
je 0x4702f8
mov ecx, dword [eax + 0xc]
jmp 0x4702fa
xor ecx, ecx
mov eax, dword [edx + 4]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x47030d
xor ebx, ebx
jmp 0x470310
mov ebx, dword [eax + 0x10]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 7
jbe 0x47036f
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jne 0x47034b
xor eax, eax
mov ecx, eax
jmp 0x470371
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x470361
mov eax, dword [eax + 0x58]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov ecx, eax
jmp 0x470371
mov eax, dword [eax + 0x58]
xor edx, edx
imul eax, edx
add eax, ecx
mov ecx, eax
jmp 0x470371
xor ecx, ecx
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
call fcn.00460990
mov edx, dword [ebp - 0x30]
mov ecx, 0x56a4bc
mov byte [edx + 0x1b7], 1
mov byte [ebp - 0x29], 1
call fcn.00416ad0
mov eax, dword [0x5699f4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov edx, dword [0x5699f4]
mov edi, dword [edx + 0x18]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [0x5699f4]
mov ebx, dword [eax + 0x2c]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x47042e
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x47040a
xor eax, eax
mov esi, eax
jmp 0x470430
mov edx, dword [eax + 0x14]
test edx, edx
je 0x470420
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x470430
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
mov esi, eax
jmp 0x470430
xor esi, esi
mov ecx, 0x56a451
call fcn.004074f0
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x29]
push edx
push eax
push edi
push ebx
push ecx
mov ecx, dword [0x5699e4]
call fcn.0042fd80
test al, al
jne 0x470514
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, 0x56a451
mov byte [ebp - 4], 5
call fcn.004074f0
mov ecx, dword [0x5699e4]
mov eax, dword [ecx + 0x18]
push eax
lea edx, [ebp - 0x30]
push 0x52a7dc
push edx
call fcn.0040c740
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
test ecx, ecx
jne 0x4704a5
xor esi, esi
jmp 0x4704ba
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4704b1
mov eax, dword [eax + 0xc]
jmp 0x4704b3
xor eax, eax
imul eax, dword [ebp - 0x38]
lea esi, [ecx + eax]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov edi, dword [0x5699f4]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x10]
push 0x10
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push eax
call dword [0x526380]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 1
call fcn.00404910
push 0x5455d8
lea edx, [ebp - 0x40]
push edx
mov byte [eax + 4], 0
mov dword [ebp - 0x40], 1
call fcn.005036c5
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
call fcn.0044a800
mov ebx, eax
test bl, 1
je 0x47054a
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
xor edi, edi
push edi
call fcn.0044a870
jmp 0x47054c
xor edi, edi
test bl, 0x10
je 0x470567
mov ecx, 0x56a451
call fcn.004074f0
mov ecx, dword [0x5699e4]
push edi
call fcn.0044a8e0
push 0x30
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x470585
mov ecx, eax
call fcn.00453500
jmp 0x470587
xor eax, eax
mov ebx, dword [ebp - 0x30]
push eax
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 3
call fcn.00440730
push 0x30
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
cmp eax, edi
je 0x4705b5
mov ecx, eax
call fcn.004f5460
jmp 0x4705b7
xor eax, eax
push eax
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 3
call fcn.004407d0
push 0x50
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 8
cmp esi, edi
je 0x470603
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.00453d00
mov esi, eax
jmp 0x470605
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x470624
xor ecx, ecx
jmp 0x47063a
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x470630
mov eax, dword [eax + 0xc]
jmp 0x470632
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x54
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 9
cmp esi, edi
je 0x47067f
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.004695b0
mov esi, eax
jmp 0x470681
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x4706a0
xor ecx, ecx
jmp 0x4706b6
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x4706ac
mov eax, dword [eax + 0xc]
jmp 0x4706ae
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x44
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xa
cmp esi, edi
je 0x4706fb
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.004542d0
mov esi, eax
jmp 0x4706fd
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x47071c
xor ecx, ecx
jmp 0x470732
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x470728
mov eax, dword [eax + 0xc]
jmp 0x47072a
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0xec
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xb
cmp esi, edi
je 0x47077a
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.0045ed80
mov esi, eax
jmp 0x47077c
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x47079b
xor ecx, ecx
jmp 0x4707b1
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x4707a7
mov eax, dword [eax + 0xc]
jmp 0x4707a9
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x38
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xc
cmp esi, edi
je 0x4707f6
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.0046a5c0
mov esi, eax
jmp 0x4707f8
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x470817
xor ecx, ecx
jmp 0x47082d
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x470823
mov eax, dword [eax + 0xc]
jmp 0x470825
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x6c
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xd
cmp esi, edi
je 0x470872
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.0045f7e0
mov esi, eax
jmp 0x470874
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x470893
xor ecx, ecx
jmp 0x4708a9
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x47089f
mov eax, dword [eax + 0xc]
jmp 0x4708a1
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x30
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xe
cmp esi, edi
je 0x4708ee
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.004443d0
mov esi, eax
jmp 0x4708f0
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x47090f
xor ecx, ecx
jmp 0x470925
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x47091b
mov eax, dword [eax + 0xc]
jmp 0x47091d
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
push 0x4c
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xf
cmp esi, edi
je 0x47096a
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
call fcn.004068a0
mov ecx, eax
call fcn.00441710
push eax
mov ecx, esi
call fcn.0046acc0
mov esi, eax
jmp 0x47096c
xor esi, esi
mov ecx, 0x56a4b4
mov byte [ebp - 4], 3
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
cmp edx, edi
jne 0x47098b
xor ecx, ecx
jmp 0x4709a1
mov eax, dword [ecx + 0x20]
cmp eax, edi
je 0x470997
mov eax, dword [eax + 0xc]
jmp 0x470999
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push esi
call fcn.00453760
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [0x5699f4]
mov esi, dword [eax + 0x2c]
mov ecx, 0x56a5f8
call fcn.004075c0
mov ecx, dword [0x5699e8]
push esi
call fcn.00502e40
test al, al
jne 0x470a1d
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ecx, 0x56a4bc
mov edi, eax
call fcn.00416ad0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov esi, dword [0x5699f4]
mov ecx, edi
call eax
mov ecx, dword [esi + 0x10]
push 0x10
push ecx
push 0x52a7b4
push eax
call dword [0x526380]
push 0x5455d8
lea ecx, [ebp - 0x4c]
push ecx
mov dword [ebp - 0x4c], 1
call fcn.005036c5
push 0x58
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0x10
cmp esi, edi
je 0x470a58
mov ecx, 0x56a4bc
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 1
call fcn.00404910
add eax, 0x20
push eax
mov ecx, esi
call fcn.004599b0
jmp 0x470a5a
xor eax, eax
push eax
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 3
call fcn.00440870
mov ecx, 0x56a4bc
call fcn.00416ad0
mov edx, dword [0x5699f4]
mov esi, dword [edx + 0x2c]
mov ecx, 0x56a480
call fcn.004056e0
mov ecx, dword [0x5699dc]
push esi
call fcn.0043cc20
push 0x44
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x11
cmp eax, edi
je 0x470aae
mov ecx, eax
call fcn.004538b0
jmp 0x470ab0
xor eax, eax
push eax
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 3
call fcn.00440910
push 0x24
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x12
cmp eax, edi
je 0x470adb
mov ecx, eax
call fcn.0044d790
jmp 0x470add
xor eax, eax
push eax
lea ecx, [ebx + 0x64]
mov byte [ebp - 4], 3
call fcn.004409b0
mov eax, dword [ebx + 0x70]
mov edx, dword [eax]
lea ecx, [ebx + 0x70]
push 0x1e
call edx
mov ecx, 0x56a4bc
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 2
call fcn.00404910
mov ecx, 0x56a4bc
mov dword [eax + 4], edi
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 2
call fcn.00404910
mov ecx, 0x56a4bc
mov byte [eax + 0xc], 0
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 2
call fcn.00404910
mov ecx, 0x56a4bc
mov dword [eax + 0x18], edi
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 2
call fcn.00404910
mov dword [eax + 0x14], edi
mov ecx, 0x56a4b4
mov word [ebx + 0x1b5], 0x100
mov dword [ebx + 0x210], edi
call fcn.00416a20
mov ecx, dword [0x5699f0]
push 0x52a7a4
call fcn.00406840
mov ecx, eax
call fcn.0044b330
mov ecx, 0x56a4bc
call fcn.00416ad0
mov ecx, dword [0x5699f4]
push 1
call fcn.00404910
cmp byte [eax + 5], 0
jne 0x470bd0
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [0x5699f4]
mov ecx, dword [eax + 0x2c]
push edi
push 0x800b
push 0x111
push ecx
call dword [0x5263c8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004051f0
mov al, 1
jmp 0x470be8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edb
mov esp, ebp
pop ebp
ret