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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10182102
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x78]
call fcn.10051780
mov dword [esp + 0x7c], eax
mov byte [eax + 0xa9], 1
mov eax, dword [esp + 0x7c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [eax], eax
mov eax, dword [esp + 0x7c]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esp + 0x80], edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x1e0], edi
call fcn.10051780
mov dword [esp + 0x58], eax
mov byte [eax + 0xa9], 1
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov dword [esp + 0x5c], edi
lea eax, [esi + 8]
mov dword [esp + 0x124], eax
add eax, 4
push eax
mov dword [esp + 0x124], 0x10199608
mov dword [esp + 0x90], eax
call dword [0x10199070]
mov eax, dword [esi + 0x28]
mov edi, dword [eax]
add esi, 0x24
mov ebx, esi
mov byte [esp + 0x1e0], 2
mov dword [esp + 0x90], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], eax
test ebx, ebx
je 0x10057ceb
cmp ebx, esi
je 0x10057cf0
call fcn.10158fad
cmp edi, dword [esp + 0x74]
je 0x10057f50
test ebx, ebx
jne 0x10057d03
call fcn.10158fad
cmp edi, dword [ebx + 4]
jne 0x10057d0d
call fcn.10158fad
lea ecx, [edi + 0x28]
call fcn.100598a0
test al, al
je 0x10057e3c
cmp edi, dword [ebx + 4]
jne 0x10057d27
call fcn.10158fad
lea ecx, [edi + 0x28]
call fcn.10059870
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.100512d0
lea edx, [esp + 0x78]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x7c]
cmp eax, edx
mov dword [esp + 0x88], eax
je 0x10057d7c
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jl 0x10057d7c
jg 0x10057d73
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x10057d7c
lea eax, [esp + 0x84]
jmp 0x10057d8c
lea eax, [esp + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
je 0x10057da5
lea edx, [esp + 0x78]
cmp ecx, edx
je 0x10057daa
call fcn.10158fad
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x64], eax
je 0x10057dbe
add dword [esp + 0x14], 1
adc dword [esp + 0x18], 0
cmp edi, dword [ebx + 4]
jne 0x10057dc8
call fcn.10158fad
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x13c], ecx
add edi, 0x28
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x144], edx
call fcn.10052050
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e8], 3
call fcn.10055b50
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e0], 2
call fcn.100599a0
lea ecx, [esp + 0x1c]
call fcn.10050bd0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x10057ce3
cmp edi, dword [ebx + 4]
jne 0x10057e46
call fcn.10158fad
lea ecx, [edi + 0x28]
call fcn.100d7120
mov ebx, edx
lea edx, [esp + 0x4c]
mov esi, eax
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
call fcn.100512d0
mov edx, dword [esp + 0x58]
cmp eax, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
je 0x10057e8e
cmp ebx, dword [eax + 0x14]
jl 0x10057e8e
jg 0x10057e88
cmp esi, dword [eax + 0x10]
jb 0x10057e8e
lea eax, [esp + 0x34]
jmp 0x10057e9e
lea eax, [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x44]
mov ecx, dword [eax]
test ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0xd0], edx
je 0x10057eba
lea edx, [esp + 0x54]
cmp ecx, edx
je 0x10057ebf
call fcn.10158fad
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0x64], eax
je 0x10057ed2
add esi, 1
adc ebx, 0
mov ecx, dword [esp + 0x1c]
cmp edi, dword [ecx + 4]
jne 0x10057ee0
call fcn.10158fad
add edi, 0x28
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], ebx
call fcn.10052050
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e8], 4
call fcn.10055b50
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e0], 2
call fcn.100599a0
mov esi, dword [esp + 0x90]
lea ecx, [esp + 0x1c]
call fcn.10050bd0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x10057ce3
xor ebx, ebx
push ebx
call fcn.10158e4a
add esp, 4
mov dword [esp + 0x90], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x7c]
mov ecx, dword [edi]
lea esi, [esp + 0x78]
mov byte [esp + 0x1e0], 5
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd0], ecx
lea esp, [esp]
cmp esi, ebx
je 0x10057fac
lea edx, [esp + 0x78]
cmp esi, edx
je 0x10057fb1
call fcn.10158fad
cmp edi, dword [esp + 0xd0]
je 0x10058386
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
call fcn.10051480
cmp dword [esp + 0x68], 0
jne 0x10057fdb
call fcn.10158fad
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp ebx, dword [eax + 4]
jne 0x10057fed
call fcn.10158fad
lea ecx, [ebx + 0x18]
call fcn.100d7000
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
call fcn.10051480
cmp dword [esp + 0x70], 0
jne 0x10058016
call fcn.10158fad
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
cmp ebx, dword [ecx + 4]
jne 0x10058028
call fcn.10158fad
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.10051480
cmp dword [esp + 0x14], 0
jne 0x10058045
call fcn.10158fad
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x10058057
call fcn.10158fad
lea ecx, [ebx + 0x18]
call fcn.100d7120
push 0
push 0x64
push edx
push eax
call fcn.10159ec0
mov ecx, dword [esp + 0x18]
add ecx, 0x18
mov ebx, eax
mov dword [esp + 0xd8], edx
call fcn.10059870
mov ecx, dword [esp + 0xd8]
push edx
push eax
push ecx
push ebx
call fcn.1015b280
mov edx, dword [esp + 0x90]
add edx, 0xfffd5d00
cmp dword [esp + 0x1c], edx
mov byte [esp + 0x13], al
jle 0x100581d7
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.10051480
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x100580c8
call fcn.10158fad
mov eax, dword [esp + 0x38]
cmp eax, dword [ebx + 4]
jne 0x100580d6
call fcn.10158fad
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
call fcn.10051480
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x100580f4
call fcn.10158fad
mov ecx, dword [esp + 0x48]
cmp ecx, dword [ebx + 4]
jne 0x10058102
call fcn.10158fad
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
call fcn.10051480
mov esi, dword [esp + 0x84]
test esi, esi
jne 0x1005812c
call fcn.10158fad
mov ebx, dword [esp + 0x88]
cmp ebx, dword [esi + 4]
jne 0x1005813d
call fcn.10158fad
mov ecx, dword [esp + 0x48]
add ecx, 0x18
call fcn.10059870
mov edi, edx
lea edx, [esp + 0x128]
push edx
lea ecx, [ebx + 0x18]
mov esi, eax
call fcn.100d6fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xf0], edx
mov edx, dword [eax + 0x10]
add ecx, 0x18
mov dword [esp + 0xf8], edx
call fcn.10059920
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x9b], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xa3], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x9f], edx
mov edx, dword [esp + 0xf8]
mov byte [esp + 0xb3], cl
mov ecx, dword [ebp + 8]
jmp 0x100582f1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
call fcn.10051480
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x100581f5
call fcn.10158fad
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 4]
jne 0x10058203
call fcn.10158fad
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
call fcn.10051480
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x10058221
call fcn.10158fad
mov ecx, dword [esp + 0x50]
cmp ecx, dword [ebx + 4]
jne 0x1005822f
call fcn.10158fad
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
call fcn.10051480
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x1005824d
call fcn.10158fad
mov ebx, dword [esp + 0x64]
cmp ebx, dword [esi + 4]
jne 0x1005825b
call fcn.10158fad
mov ecx, dword [esp + 0x50]
add ecx, 0x18
call fcn.10059870
mov edi, edx
lea edx, [esp + 0x128]
push edx
lea ecx, [ebx + 0x18]
mov esi, eax
call fcn.100d6fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0x108], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0x10]
add ecx, 0x18
mov dword [esp + 0x114], edx
call fcn.10059920
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x9b], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xa3], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x9f], edx
mov edx, dword [esp + 0x114]
mov byte [esp + 0xb3], cl
lea ecx, [esp + 0x24]
mov dword [esp + 0xa7], edx
mov dword [esp + 0xb4], eax
lea edx, [esp + 0x97]
xor eax, eax
push edx
mov dword [esp + 0x9b], ebx
mov dword [esp + 0xaf], esi
mov dword [esp + 0xb3], edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call fcn.10055c30
mov edi, dword [esp + 0x28]
test edi, edi
mov ebx, dword [esp + 0x2c]
jne 0x10058341
xor esi, esi
jmp 0x10058356
mov ecx, ebx
sub ecx, edi
mov eax, 0x63e7063f
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ecx, dword [ebp + 8]
call fcn.10050a70
add eax, esi
cmp eax, dword [ebp + 0xc]
jae 0x1005838e
lea ecx, [esp + 0xc4]
call fcn.10051480
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
xor ebx, ebx
jmp 0x10057fa0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
cmp edi, ebx
mov dword [esp + 0x1c], ebx
jbe 0x1005839b
call fcn.10158fad
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jbe 0x100583ae
call fcn.10158fad
mov esi, dword [ebp + 8]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
lea ebx, [esp + 0x24]
jbe 0x100583c2
call fcn.10158fad
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
push edx
push ebx
push edi
push esi
mov ecx, esi
call fcn.10053440
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp ebx, ecx
mov edi, ecx
jbe 0x1005840b
call fcn.10158fad
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp ebx, ecx
jbe 0x1005840b
call fcn.10158fad
mov ecx, dword [esp + 0x2c]
cmp ebx, edi
je 0x10058458
sub ecx, edi
mov eax, 0x63e7063f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x8c]
imul esi, esi, 0x29
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
push eax
push ebx
push ecx
push edi
add esi, ebx
call fcn.10050f60
add esp, 0x18
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x58]
xor edx, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xc0], edx
mov edx, dword [eax]
mov edi, eax
mov esi, ecx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd8], edx
test esi, esi
je 0x10058490
lea eax, [esp + 0x54]
cmp esi, eax
je 0x10058495
call fcn.10158fad
cmp edi, dword [esp + 0xd8]
je 0x10058866
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
call fcn.10051480
cmp dword [esp + 0x3c], 0
jne 0x100584bf
call fcn.10158fad
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp ebx, dword [eax + 4]
jne 0x100584d1
call fcn.10158fad
lea ecx, [ebx + 0x18]
call fcn.100d7000
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
call fcn.10051480
cmp dword [esp + 0x4c], 0
jne 0x100584fa
call fcn.10158fad
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp ebx, dword [ecx + 4]
jne 0x1005850c
call fcn.10158fad
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.10051480
cmp dword [esp + 0x1c], 0
jne 0x10058529
call fcn.10158fad
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jne 0x1005853b
call fcn.10158fad
lea ecx, [ebx + 0x18]
call fcn.100d7120
push 0
push 0x64
push edx
push eax
call fcn.10159ec0
mov ecx, dword [esp + 0x20]
add ecx, 0x18
mov ebx, eax
mov dword [esp + 0xd0], edx
call fcn.10059870
mov ecx, dword [esp + 0xd0]
push edx
push eax
push ecx
push ebx
call fcn.1015b280
mov edx, dword [esp + 0x90]
add edx, 0xfffd5d00
cmp dword [esp + 0x14], edx
mov byte [esp + 0x13], al
jle 0x100586ac
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
call fcn.10051480
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x100585ac
call fcn.10158fad
mov eax, dword [esp + 0x48]
cmp eax, dword [ebx + 4]
jne 0x100585ba
call fcn.10158fad
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
call fcn.10051480
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x100585d8
call fcn.10158fad
mov ecx, dword [esp + 0x38]
cmp ecx, dword [ebx + 4]
jne 0x100585e6
call fcn.10158fad
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
call fcn.10051480
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x10058604
call fcn.10158fad
mov ebx, dword [esp + 0x64]
cmp ebx, dword [esi + 4]
jne 0x10058612
call fcn.10158fad
mov ecx, dword [esp + 0x38]
add ecx, 0x18
call fcn.10059870
mov edi, edx
lea edx, [esp + 0x128]
push edx
lea ecx, [ebx + 0x18]
mov esi, eax
call fcn.100d6fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0x108], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0x10]
add ecx, 0x18
mov dword [esp + 0x114], edx
call fcn.10059920
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x9b], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xa3], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x9f], edx
mov edx, dword [esp + 0x114]
mov byte [esp + 0xb3], cl
mov ecx, dword [ebp + 8]
jmp 0x100587d5
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
call fcn.10051480
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x100586ca
call fcn.10158fad
mov eax, dword [esp + 0x6c]
cmp eax, dword [ebx + 4]
jne 0x100586d8
call fcn.10158fad
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
call fcn.10051480
mov ebx, dword [esp + 0x70]
test ebx, ebx
jne 0x100586f6
call fcn.10158fad
mov ecx, dword [esp + 0x74]
cmp ecx, dword [ebx + 4]
jne 0x10058704
call fcn.10158fad
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
call fcn.10051480
mov esi, dword [esp + 0x84]
test esi, esi
jne 0x1005872e
call fcn.10158fad
mov ebx, dword [esp + 0x88]
cmp ebx, dword [esi + 4]
jne 0x1005873f
call fcn.10158fad
mov ecx, dword [esp + 0x74]
add ecx, 0x18
call fcn.10059870
mov edi, edx
lea edx, [esp + 0x128]
push edx
lea ecx, [ebx + 0x18]
mov esi, eax
call fcn.100d6fd0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf0], edx
mov edx, dword [eax + 0x10]
add ecx, 0x18
mov dword [esp + 0xf8], edx
call fcn.10059920
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x9b], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xa3], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x9f], edx
mov edx, dword [esp + 0xf8]
mov byte [esp + 0xb3], cl
lea ecx, [esp + 0x24]
mov dword [esp + 0xa7], edx
mov dword [esp + 0xb4], eax
lea edx, [esp + 0x97]
xor eax, eax
push edx
mov dword [esp + 0x9b], ebx
mov dword [esp + 0xaf], esi
mov dword [esp + 0xb3], edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call fcn.10055c30
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10058821
xor esi, esi
jmp 0x10058838
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, 0x63e7063f
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ecx, dword [ebp + 8]
call fcn.10050a70
add eax, esi
cmp eax, dword [ebp + 0xc]
jae 0x10058866
lea ecx, [esp + 0xc4]
call fcn.10051480
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc4]
jmp 0x10058484
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x14], ecx
jbe 0x10058883
call fcn.10158fad
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jbe 0x10058890
call fcn.10158fad
mov esi, dword [ebp + 8]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
lea ebx, [esp + 0x24]
jbe 0x100588a4
call fcn.10158fad
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
push edx
push ebx
push edi
push esi
mov ecx, esi
call fcn.10053440
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x100588d2
xor esi, esi
jmp 0x100588e8
mov esi, dword [esi + 8]
sub esi, eax
mov eax, 0x63e7063f
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x100588f9
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x8c]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [0x10199074]
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x58]
push ecx
mov edi, ecx
push edx
push edi
lea ecx, [esp + 0xe4]
push ecx
mov ecx, edi
mov byte [esp + 0x1f4], bl
call fcn.10054440
mov edx, dword [esp + 0x58]
push edx
call fcn.10158c57
mov eax, dword [esp + 0x80]
add esp, 4
push eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov edx, dword [eax]
push edx
mov edi, ecx
push edi
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0x1f4], 0xffffffff
call fcn.10054440
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.10158c57
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8