Function at 0x1005b76c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x140
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov ecx, dword [edx*4 + 0x100a147c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
sub edx, ecx
mov dword [esp + 0x30], edx
cmp edx, 0xf
jle 0x1005c967
mov ebx, dword [esp + 0x160]
mov ebp, dword [esp + 0x164]
mov edi, dword [esp + 0x16c]
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
lea esi, [ebp + 1]
mov dword [esp + 0x10], esi
call fcn.1005b76c
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0x30]
mov eax, 1
shl eax, cl
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x164]
mov eax, 1
shl eax, cl
mov dword [ebp + esi*4 + 0x48], ebx
mov ecx, dword [ecx*4 + 0x100a14dc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x28], ecx
lea edx, [ebx + eax*8]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x24], edx
mov edi, 1
sub ecx, dword [esp + 0x34]
shl edi, cl
test eax, eax
mov dword [esp + 0xf0], edi
jle 0x1005c8f0
mov ecx, dword [esp + 0x160]
add dword [esp + 0x30], 2
xor eax, eax
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0xc4], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb4], eax
mov edi, ecx
sar edi, 1
and dword [esp + 0x34], 1
shr edi, 0x1e
add edi, ecx
sar edi, 2
mov dword [esp + 0xb8], edi
mov ebp, edi
neg ebp
imul ebp, eax
mov dword [esp + 0x38], ebp
imul edi, eax
lea edx, [eax + ebp]
mov dword [esp + 0x3c], edx
mov ebx, ecx
mov dword [esp + 0xa0], edi
shr ebx, 0x1f
add ebx, ecx
sar ebx, 1
mov dword [esp + 0xa4], ebx
mov edx, ebx
imul edx, eax
mov dword [esp + 0x8c], edx
neg ebx
imul ebx, eax
lea ecx, [ecx + ecx*2]
lea esi, [eax + ebx]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov esi, ecx
sar esi, 1
shr esi, 0x1e
add esi, ecx
sar esi, 2
mov dword [esp + 0x90], esi
mov ecx, esi
imul ecx, eax
mov dword [esp + 0x6c], ecx
neg esi
imul esi, eax
mov dword [esp + 0x48], esi
lea esi, [eax + esi]
mov dword [esp + 0x4c], esi
mov esi, eax
neg esi
lea edx, [esi + edx]
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], edx
lea edx, [esi + edi]
mov dword [esp + 0xa8], edx
lea edx, [esi + ecx]
mov dword [esp + 0x70], edx
lea edx, [ebx + eax*2]
mov dword [esp + 0x50], edx
lea edx, [ebp + eax*2]
mov dword [esp + 0x54], edx
lea esi, [eax + eax]
mov edx, dword [esp + 0x48]
lea edx, [edx + eax*2]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x8c]
neg esi
lea edx, [esi + edx]
mov dword [esp + 0x98], edx
lea edx, [esi + edi]
mov dword [esp + 0xac], edx
lea edx, [esi + ecx]
mov dword [esp + 0x74], edx
lea edx, [eax + eax*2]
mov dword [esp + 0x5c], edx
lea ebx, [edx + ebx]
mov dword [esp + 0x60], ebx
lea ebx, [edx + ebp]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x48]
lea edx, [edx + ebx]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x68], edx
lea edx, [eax + eax*2]
neg edx
lea ebx, [edx + ebx]
mov dword [esp + 0x9c], ebx
lea ebx, [edx + edi]
mov edi, dword [esp + 0xf0]
lea ecx, [edx + ecx]
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x7c]
imul ecx, eax
add edx, ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
add dword [esp + 0x88], ecx
add esi, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0xc4]
mov eax, ebp
cmp ebp, ebx
jg 0x1005c949
mov edi, dword [esp + 0x160]
mov dword [esp + 0xc4], esi
mov edx, 1
mov ecx, eax
mov esi, 1
shl esi, cl
mov ecx, edi
sub ecx, eax
mov ebp, 1
shl ebp, cl
test edx, edx
jle 0x1005c293
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0xfc], ebp
mov ebp, dword [esp + 0xc4]
xor ecx, ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xc8], eax
mov eax, ebx
imul eax, ecx
add eax, ebp
test edx, edx
jle 0x1005c932
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xfc]
mov dword [esp + 0xc4], ebp
mov ebp, esi
sar ebp, 1
shr ebp, 0x1e
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0xbc], ecx
add ebp, esi
sar ebp, 2
mov dword [esp + 0x13c], ebp
mov ecx, edi
imul ecx, ebp
mov dword [esp + 0x114], ecx
neg ebp
imul ebp, edi
mov dword [esp + 0xe8], ebp
mov ebp, esi
shr ebp, 0x1f
add ebp, esi
sar ebp, 1
mov dword [esp + 0x118], ebp
mov ecx, ebp
neg ecx
imul ecx, edi
mov dword [esp + 0xdc], ecx
mov ecx, edi
imul ecx, ebp
mov dword [esp + 0xe4], ecx
lea ebp, [esi + esi*2]
mov ecx, ebp
sar ecx, 1
shr ecx, 0x1e
add ecx, ebp
sar ecx, 2
mov dword [esp + 0xec], ecx
mov ebp, ecx
neg ebp
imul ebp, edi
mov dword [esp + 0xe0], ebp
mov ebp, edi
imul ebp, ecx
mov ecx, eax
imul ecx, edi
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x110], ecx
mov ecx, edi
neg ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0xc4], ebp
mov ebp, dword [esp + 0xbc]
lea ecx, [edi + edi]
neg ecx
mov dword [esp + 0x108], ecx
lea ecx, [edi + edi*2]
mov dword [esp + 0x100], ecx
lea ecx, [edi + edi*2]
neg ecx
imul edi, esi
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xd4], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x12c], eax
mov ebx, 1
mov esi, eax
mov dword [esp + 0x11c], esi
mov ecx, ebp
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0xf8]
mov edx, 2
mov edi, 3
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], edx
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x13c]
lea eax, [eax + esi]
cmp eax, edi
jg 0x1005bbfd
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
imul edi, ebx
add edi, dword [esp + 0x114]
fld dword [ecx + edi*4]
jmp 0x1005bc78
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005bc2a
mov esi, ebp
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x110]
imul esi, ebx
add esi, dword [esp + 0xe8]
fld dword [ecx + esi*4]
fchs
jmp 0x1005bc78
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005bc5a
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
imul edi, ebx
add edi, dword [esp + 0xd8]
fld dword [ecx + edi*4]
fchs
jmp 0x1005bc78
mov esi, ebp
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x110]
imul esi, ebx
add esi, dword [esp + 0xe0]
fld dword [ecx + esi*4]
mov edi, dword [esp + 0x13c]
fstp dword [edx]
lea esi, [ebx + eax]
mov dword [esp + 0x130], esi
cmp esi, edi
jg 0x1005bcbc
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x10c]
imul edi, ebx
add edi, dword [esp + 0x114]
fld dword [ecx + edi*4]
jmp 0x1005bd46
mov edi, dword [esp + 0x118]
cmp esi, edi
jg 0x1005bced
mov esi, dword [esp + 0xfc]
mov edi, ebp
imul edi, esi
add edi, dword [esp + 0x110]
add edi, esi
imul edi, ebx
add edi, dword [esp + 0xe8]
fld dword [ecx + edi*4]
fchs
jmp 0x1005bd46
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x1005bd24
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x10c]
imul edi, ebx
add edi, dword [esp + 0xd8]
fld dword [ecx + edi*4]
fchs
jmp 0x1005bd46
mov esi, dword [esp + 0xfc]
mov edi, ebp
imul edi, esi
add edi, dword [esp + 0x110]
add edi, esi
imul edi, ebx
add edi, dword [esp + 0xe0]
fld dword [ecx + edi*4]
mov esi, dword [esp + 0x120]
fstp dword [edx + 4]
lea edi, [eax + esi]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x138], edi
cmp edi, esi
jg 0x1005bd92
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x108]
imul edi, ebx
add edi, dword [esp + 0x114]
fld dword [ecx + edi*4]
jmp 0x1005be25
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x138]
cmp esi, edi
jg 0x1005bdcb
mov edi, dword [esp + 0xfc]
mov esi, ebp
imul esi, edi
add esi, dword [esp + 0x110]
lea esi, [esi + edi*2]
imul esi, ebx
add esi, dword [esp + 0xe8]
fld dword [ecx + esi*4]
fchs
jmp 0x1005be25
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x1005be02
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x108]
imul edi, ebx
add edi, dword [esp + 0xd8]
fld dword [ecx + edi*4]
fchs
jmp 0x1005be25
mov edi, dword [esp + 0xfc]
mov esi, ebp
imul esi, edi
add esi, dword [esp + 0x110]
lea esi, [esi + edi*2]
imul esi, ebx
add esi, dword [esp + 0xe0]
fld dword [ecx + esi*4]
mov esi, dword [esp + 0x124]
fstp dword [edx + 8]
lea edi, [eax + esi]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x134], edi
cmp edi, esi
jg 0x1005be71
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x104]
imul edi, ebx
add edi, dword [esp + 0x114]
fld dword [ecx + edi*4]
jmp 0x1005bf08
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x134]
cmp esi, edi
jg 0x1005beac
mov esi, ebp
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x110]
add esi, dword [esp + 0x100]
imul esi, ebx
add esi, dword [esp + 0xe8]
fld dword [ecx + esi*4]
fchs
jmp 0x1005bf08
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x1005bee3
mov esi, dword [esp + 0x12c]
lea edi, [esi + ebp]
neg edi
imul edi, dword [esp + 0xfc]
add edi, dword [esp + 0x104]
imul edi, ebx
add edi, dword [esp + 0xd8]
fld dword [ecx + edi*4]
fchs
jmp 0x1005bf08
mov esi, ebp
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x110]
add esi, dword [esp + 0x100]
imul esi, ebx
add esi, dword [esp + 0xe0]
fld dword [ecx + esi*4]
mov esi, dword [esp + 0x13c]
fstp dword [edx + 0xc]
cmp eax, esi
jg 0x1005bf31
mov eax, ebp
imul eax, dword [esp + 0xfc]
add eax, dword [esp + 0x110]
imul eax, ebx
fld dword [ecx + eax*4]
fchs
jmp 0x1005bfad
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005bf61
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
imul esi, ebx
add esi, dword [esp + 0xe4]
fld dword [ecx + esi*4]
fchs
jmp 0x1005bfad
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005bf8c
mov eax, ebp
imul eax, dword [esp + 0xfc]
add eax, dword [esp + 0x110]
imul eax, ebx
add eax, dword [esp + 0xdc]
fld dword [ecx + eax*4]
jmp 0x1005bfad
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
imul esi, ebx
add esi, dword [esp + 0xd4]
fld dword [ecx + esi*4]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x130]
fstp dword [edx + 0x10]
cmp eax, esi
jg 0x1005bfe4
mov eax, dword [esp + 0xfc]
mov esi, ebp
imul esi, eax
add esi, dword [esp + 0x110]
add esi, eax
imul esi, ebx
fld dword [ecx + esi*4]
fchs
jmp 0x1005c072
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005c01b
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x10c]
imul esi, ebx
add esi, dword [esp + 0xe4]
fld dword [ecx + esi*4]
fchs
jmp 0x1005c072
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005c04a
mov eax, dword [esp + 0xfc]
mov esi, ebp
imul esi, eax
add esi, dword [esp + 0x110]
add esi, eax
imul esi, ebx
add esi, dword [esp + 0xdc]
fld dword [ecx + esi*4]
jmp 0x1005c072
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x10c]
imul esi, ebx
add esi, dword [esp + 0xd4]
fld dword [ecx + esi*4]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x138]
fstp dword [edx + 0x14]
cmp eax, esi
jg 0x1005c0aa
mov esi, dword [esp + 0xfc]
mov eax, ebp
imul eax, esi
add eax, dword [esp + 0x110]
lea edi, [eax + esi*2]
imul edi, ebx
fld dword [ecx + edi*4]
fchs
jmp 0x1005c139
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005c0e1
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x108]
imul esi, ebx
add esi, dword [esp + 0xe4]
fld dword [ecx + esi*4]
fchs
jmp 0x1005c139
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005c111
mov esi, dword [esp + 0xfc]
mov eax, ebp
imul eax, esi
add eax, dword [esp + 0x110]
lea edi, [eax + esi*2]
imul edi, ebx
add edi, dword [esp + 0xdc]
fld dword [ecx + edi*4]
jmp 0x1005c139
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x108]
imul esi, ebx
add esi, dword [esp + 0xd4]
fld dword [ecx + esi*4]
mov esi, dword [esp + 0x13c]
mov eax, dword [esp + 0x134]
fstp dword [edx + 0x18]
cmp eax, esi
jg 0x1005c173
mov eax, ebp
imul eax, dword [esp + 0xfc]
add eax, dword [esp + 0x110]
add eax, dword [esp + 0x100]
imul eax, ebx
fld dword [ecx + eax*4]
fchs
jmp 0x1005c204
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005c1aa
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x104]
imul esi, ebx
add esi, dword [esp + 0xe4]
fld dword [ecx + esi*4]
fchs
jmp 0x1005c204
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005c1dc
mov eax, ebp
imul eax, dword [esp + 0xfc]
add eax, dword [esp + 0x110]
add eax, dword [esp + 0x100]
imul eax, ebx
add eax, dword [esp + 0xdc]
fld dword [ecx + eax*4]
jmp 0x1005c204
mov eax, dword [esp + 0x12c]
lea esi, [eax + ebp]
neg esi
imul esi, dword [esp + 0xfc]
add esi, dword [esp + 0x104]
imul esi, ebx
add esi, dword [esp + 0xd4]
fld dword [ecx + esi*4]
mov eax, dword [esp + 0x12c]
fstp dword [edx + 0x1c]
add edx, 0x20
add ebx, 1
add dword [esp + 0x11c], eax
add dword [esp + 0x128], ebp
add dword [esp + 0x120], 2
add dword [esp + 0x124], 3
cmp ebx, 3
jle 0x1005bbbe
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0xf0]
add ebp, 4
cmp ebp, edx
jl 0x1005bb7a
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
add ecx, 1
mov eax, dword [esp + 0xcc]
cmp ecx, eax
jl 0x1005ba64
mov edx, eax
mov eax, dword [esp + 0xc8]
mov edi, dword [esp + 0x160]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc4], ebp
shl edx, 2
add eax, 2
cmp eax, ebx
jle 0x1005ba15
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1005c8e6
test edx, edx
jle 0x1005c8e6
xor eax, eax
mov ebx, ecx
imul ebx, eax
add ebx, esi
test edi, edi
jle 0x1005c91d
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x130], ebx
imul ebx, eax
xor ebp, ebp
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x134], ebx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xc4], esi
mov esi, dword [esp + 0xf8]
lea ebp, [eax + ebx]
lea eax, [ebx + eax*2]
mov dword [esp + 0xd4], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xd8], eax
lea ebp, [ebp + ebx]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x104], ebp
mov ebp, dword [esp + 0x40]
lea ebp, [ebp + ebx]
lea eax, [eax + ebx]
mov dword [esp + 0xbc], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xe4], eax
lea ebp, [ebp + ebx]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x100], ebp
mov ebp, dword [esp + 0x4c]
lea ebp, [ebp + ebx]
lea eax, [eax + ebx]
mov dword [esp + 0x138], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x114], eax
lea ebp, [ebp + ebx]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x108], ebp
mov ebp, dword [esp + 0x48]
lea ebp, [ebp + ebx]
lea eax, [eax + ebx]
mov dword [esp + 0x110], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + ebx]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x60]
lea eax, [eax + ebx]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x64]
lea eax, [eax + ebx]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x68]
lea eax, [eax + ebx]
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xb8]
cmp ebx, eax
jg 0x1005c42b
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xa0]
fld dword [esi + eax*4]
jmp 0x1005c470
mov eax, dword [esp + 0xa4]
cmp ebx, eax
jg 0x1005c444
mov eax, dword [esp + 0x108]
fld dword [esi + eax*4]
fchs
jmp 0x1005c470
mov eax, dword [esp + 0x90]
cmp ebx, eax
jg 0x1005c466
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x6c]
fld dword [esi + eax*4]
fchs
jmp 0x1005c470
mov eax, dword [esp + 0x110]
fld dword [esi + eax*4]
mov eax, dword [esp + 0xb8]
fstp dword [ebp]
lea ecx, [ebx + 1]
cmp ecx, eax
jg 0x1005c499
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xa8]
fld dword [esi + eax*4]
jmp 0x1005c4de
mov eax, dword [esp + 0xa4]
cmp ecx, eax
jg 0x1005c4b2
mov eax, dword [esp + 0x100]
fld dword [esi + eax*4]
fchs
jmp 0x1005c4de
mov eax, dword [esp + 0x90]
cmp ecx, eax
jg 0x1005c4d4
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x70]
fld dword [esi + eax*4]
fchs
jmp 0x1005c4de
mov eax, dword [esp + 0x138]
fld dword [esi + eax*4]
mov eax, dword [esp + 0xb8]
fstp dword [ebp + 4]
lea edx, [ebx + 2]
cmp edx, eax
jg 0x1005c507
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xac]
fld dword [esi + eax*4]
jmp 0x1005c54c
mov eax, dword [esp + 0xa4]
cmp edx, eax
jg 0x1005c520
mov eax, dword [esp + 0x114]
fld dword [esi + eax*4]
fchs
jmp 0x1005c54c
mov eax, dword [esp + 0x90]
cmp edx, eax
jg 0x1005c542
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x74]
fld dword [esi + eax*4]
fchs
jmp 0x1005c54c
mov eax, dword [esp + 0xdc]
fld dword [esi + eax*4]
mov edi, dword [esp + 0xb8]
fstp dword [ebp + 8]
lea eax, [ebx + 3]
cmp eax, edi
jg 0x1005c575
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0xb0]
fld dword [esi + edi*4]
jmp 0x1005c5ba
mov edi, dword [esp + 0xa4]
cmp eax, edi
jg 0x1005c58e
mov edi, dword [esp + 0xec]
fld dword [esi + edi*4]
fchs
jmp 0x1005c5ba
mov edi, dword [esp + 0x90]
cmp eax, edi
jg 0x1005c5b0
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0x78]
fld dword [esi + edi*4]
fchs
jmp 0x1005c5ba
mov edi, dword [esp + 0x118]
fld dword [esi + edi*4]
mov edi, dword [esp + 0xb8]
fstp dword [ebp + 0xc]
cmp ebx, edi
jg 0x1005c5d6
mov edi, dword [esp + 0x134]
fld dword [esi + edi*4]
fchs
jmp 0x1005c625
mov edi, dword [esp + 0xa4]
cmp ebx, edi
jg 0x1005c5fb
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0x8c]
fld dword [esi + edi*4]
fchs
jmp 0x1005c625
mov edi, dword [esp + 0x90]
cmp ebx, edi
jg 0x1005c612
mov edi, dword [esp + 0xbc]
fld dword [esi + edi*4]
jmp 0x1005c625
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0x7c]
fld dword [esi + edi*4]
mov edi, dword [esp + 0xb8]
fstp dword [ebp + 0x10]
cmp ecx, edi
jg 0x1005c641
mov ecx, dword [esp + 0xd4]
fld dword [esi + ecx*4]
fchs
jmp 0x1005c693
mov edi, dword [esp + 0xa4]
cmp ecx, edi
jg 0x1005c666
mov ecx, ebx
neg ecx
imul ecx, dword [esp + 0xb4]
add ecx, dword [esp + 0x94]
fld dword [esi + ecx*4]
fchs
jmp 0x1005c693
mov edi, dword [esp + 0x90]
cmp ecx, edi
jg 0x1005c67d
mov ecx, dword [esp + 0x104]
fld dword [esi + ecx*4]
jmp 0x1005c693
mov ecx, ebx
neg ecx
imul ecx, dword [esp + 0xb4]
add ecx, dword [esp + 0x88]
fld dword [esi + ecx*4]
mov ecx, dword [esp + 0xb8]
fstp dword [ebp + 0x14]
cmp edx, ecx
jg 0x1005c6af
mov edx, dword [esp + 0xd8]
fld dword [esi + edx*4]
fchs
jmp 0x1005c701
mov ecx, dword [esp + 0xa4]
cmp edx, ecx
jg 0x1005c6d4
mov edx, ebx
neg edx
imul edx, dword [esp + 0xb4]
add edx, dword [esp + 0x98]
fld dword [esi + edx*4]
fchs
jmp 0x1005c701
mov ecx, dword [esp + 0x90]
cmp edx, ecx
jg 0x1005c6eb
mov edx, dword [esp + 0xe4]
fld dword [esi + edx*4]
jmp 0x1005c701
mov edx, ebx
neg edx
imul edx, dword [esp + 0xb4]
add edx, dword [esp + 0x84]
fld dword [esi + edx*4]
mov edx, dword [esp + 0xb8]
fstp dword [ebp + 0x18]
cmp eax, edx
jg 0x1005c71d
mov eax, dword [esp + 0xe8]
fld dword [esi + eax*4]
fchs
jmp 0x1005c76f
mov edx, dword [esp + 0xa4]
cmp eax, edx
jg 0x1005c742
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x9c]
fld dword [esi + eax*4]
fchs
jmp 0x1005c76f
mov edx, dword [esp + 0x90]
cmp eax, edx
jg 0x1005c759
mov eax, dword [esp + 0x13c]
fld dword [esi + eax*4]
jmp 0x1005c76f
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x80]
fld dword [esi + eax*4]
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x110]
mov edi, dword [esp + 0x108]
fstp dword [ebp + 0x1c]
add ebp, 0x20
add ebx, 4
lea ecx, [edx + eax*4]
mov dword [esp + 0x110], ecx
lea edx, [edi + eax*4]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x138]
lea edx, [edx + eax*4]
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x100]
lea edx, [edx + eax*4]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0xdc]
lea edx, [edx + eax*4]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x114]
lea edx, [edx + eax*4]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x118]
lea edx, [edx + eax*4]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0xec]
lea edx, [edx + eax*4]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0xbc]
lea edx, [edx + eax*4]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x134]
lea edx, [edx + eax*4]
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x104]
lea edx, [edx + eax*4]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0xd4]
lea edx, [edx + eax*4]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0xe4]
lea edx, [edx + eax*4]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0xd8]
lea edx, [edx + eax*4]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x13c]
lea edx, [edx + eax*4]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xe8]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x10c]
add eax, 4
mov dword [esp + 0x10c], eax
cmp eax, edx
jl 0x1005c408
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xf4], ebp
add eax, 1
cmp eax, edx
jl 0x1005c2d0
jmp 0x1005c928
add esi, edi
cmp esi, ecx
jl 0x1005b9f8
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x18]
mov eax, 1
shl eax, cl
shl eax, 3
cmp eax, edx
jge 0x1005c90b
mov eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x24]
add esp, 0x140
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 1
cmp eax, edx
jl 0x1005c2d0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x1005c8e6
mov eax, dword [esp + 0xcc]
add ecx, 1
cmp ecx, eax
jl 0x1005ba64
jmp 0x1005c278
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1005c95b
mov edx, 1
jmp 0x1005c2ce
add esi, edi
cmp esi, ecx
jl 0x1005b9f8
jmp 0x1005c8f0
mov edx, dword [esp + 0x20]
push eax
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x164]
push eax
mov ecx, dword [esp + 0x100]
push ecx
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.1005b278
add esp, 0x10
mov dword [esp + 0xf4], eax
mov ecx, ebx
mov ebx, dword [esp + 0x20]
mov eax, 1
shl eax, cl
mov dword [esp + 0xc0], eax
lea edx, [eax*8 + 0x1f]
and edx, 0xffffffe0
mov dword [ebx + 0x18], edx
jmp 0x1005b7f7