Function at 0x100598b4
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 + 0x100a12fc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
sub edx, ecx
mov dword [esp + 0x30], edx
cmp edx, 0x10
jle 0x1005aaaf
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.100598b4
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 + 0x100a135c]
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 0x1005aa38
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 0x1005aa91
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 0x1005a3db
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 0x1005aa7a
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 0x10059d45
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 0x10059dc0
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x10059d72
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 0x10059dc0
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x10059da2
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 0x10059dc0
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 0x10059e04
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 0x10059e8e
mov edi, dword [esp + 0x118]
cmp esi, edi
jg 0x10059e35
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 0x10059e8e
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x10059e6c
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 0x10059e8e
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 0x10059eda
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 0x10059f6d
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x138]
cmp esi, edi
jg 0x10059f13
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 0x10059f6d
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x10059f4a
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 0x10059f6d
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 0x10059fb9
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 0x1005a050
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x134]
cmp esi, edi
jg 0x10059ff4
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 0x1005a050
mov edi, dword [esp + 0xec]
cmp esi, edi
jg 0x1005a02b
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 0x1005a050
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 0x1005a079
mov eax, ebp
imul eax, dword [esp + 0xfc]
add eax, dword [esp + 0x110]
imul eax, ebx
fld dword [ecx + eax*4]
fchs
jmp 0x1005a0f5
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005a0a9
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 0x1005a0f5
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005a0d4
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 0x1005a0f5
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 0x1005a12c
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 0x1005a1ba
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005a163
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 0x1005a1ba
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005a192
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 0x1005a1ba
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 0x1005a1f2
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 0x1005a281
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005a229
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 0x1005a281
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005a259
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 0x1005a281
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 0x1005a2bb
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 0x1005a34c
mov esi, dword [esp + 0x118]
cmp eax, esi
jg 0x1005a2f2
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 0x1005a34c
mov esi, dword [esp + 0xec]
cmp eax, esi
jg 0x1005a324
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 0x1005a34c
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 0x10059d06
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0xf0]
add ebp, 4
cmp ebp, edx
jl 0x10059cc2
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 0x10059bac
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 0x10059b5d
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 0x1005aa2e
test edx, edx
jle 0x1005aa2e
xor eax, eax
mov ebx, ecx
imul ebx, eax
add ebx, esi
test edi, edi
jle 0x1005aa65
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 0x1005a573
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xa0]
fld dword [esi + eax*4]
jmp 0x1005a5b8
mov eax, dword [esp + 0xa4]
cmp ebx, eax
jg 0x1005a58c
mov eax, dword [esp + 0x108]
fld dword [esi + eax*4]
fchs
jmp 0x1005a5b8
mov eax, dword [esp + 0x90]
cmp ebx, eax
jg 0x1005a5ae
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x6c]
fld dword [esi + eax*4]
fchs
jmp 0x1005a5b8
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 0x1005a5e1
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xa8]
fld dword [esi + eax*4]
jmp 0x1005a626
mov eax, dword [esp + 0xa4]
cmp ecx, eax
jg 0x1005a5fa
mov eax, dword [esp + 0x100]
fld dword [esi + eax*4]
fchs
jmp 0x1005a626
mov eax, dword [esp + 0x90]
cmp ecx, eax
jg 0x1005a61c
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x70]
fld dword [esi + eax*4]
fchs
jmp 0x1005a626
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 0x1005a64f
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0xac]
fld dword [esi + eax*4]
jmp 0x1005a694
mov eax, dword [esp + 0xa4]
cmp edx, eax
jg 0x1005a668
mov eax, dword [esp + 0x114]
fld dword [esi + eax*4]
fchs
jmp 0x1005a694
mov eax, dword [esp + 0x90]
cmp edx, eax
jg 0x1005a68a
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x74]
fld dword [esi + eax*4]
fchs
jmp 0x1005a694
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 0x1005a6bd
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0xb0]
fld dword [esi + edi*4]
jmp 0x1005a702
mov edi, dword [esp + 0xa4]
cmp eax, edi
jg 0x1005a6d6
mov edi, dword [esp + 0xec]
fld dword [esi + edi*4]
fchs
jmp 0x1005a702
mov edi, dword [esp + 0x90]
cmp eax, edi
jg 0x1005a6f8
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0x78]
fld dword [esi + edi*4]
fchs
jmp 0x1005a702
mov edi, dword [esp + 0x118]
fld dword [esi + edi*4]
mov edi, dword [esp + 0xb8]
fstp dword [ebp + 0xc]
cmp ebx, edi
jg 0x1005a71e
mov edi, dword [esp + 0x134]
fld dword [esi + edi*4]
fchs
jmp 0x1005a76d
mov edi, dword [esp + 0xa4]
cmp ebx, edi
jg 0x1005a743
mov edi, ebx
neg edi
imul edi, dword [esp + 0xb4]
add edi, dword [esp + 0x8c]
fld dword [esi + edi*4]
fchs
jmp 0x1005a76d
mov edi, dword [esp + 0x90]
cmp ebx, edi
jg 0x1005a75a
mov edi, dword [esp + 0xbc]
fld dword [esi + edi*4]
jmp 0x1005a76d
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 0x1005a789
mov ecx, dword [esp + 0xd4]
fld dword [esi + ecx*4]
fchs
jmp 0x1005a7db
mov edi, dword [esp + 0xa4]
cmp ecx, edi
jg 0x1005a7ae
mov ecx, ebx
neg ecx
imul ecx, dword [esp + 0xb4]
add ecx, dword [esp + 0x94]
fld dword [esi + ecx*4]
fchs
jmp 0x1005a7db
mov edi, dword [esp + 0x90]
cmp ecx, edi
jg 0x1005a7c5
mov ecx, dword [esp + 0x104]
fld dword [esi + ecx*4]
jmp 0x1005a7db
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 0x1005a7f7
mov edx, dword [esp + 0xd8]
fld dword [esi + edx*4]
fchs
jmp 0x1005a849
mov ecx, dword [esp + 0xa4]
cmp edx, ecx
jg 0x1005a81c
mov edx, ebx
neg edx
imul edx, dword [esp + 0xb4]
add edx, dword [esp + 0x98]
fld dword [esi + edx*4]
fchs
jmp 0x1005a849
mov ecx, dword [esp + 0x90]
cmp edx, ecx
jg 0x1005a833
mov edx, dword [esp + 0xe4]
fld dword [esi + edx*4]
jmp 0x1005a849
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 0x1005a865
mov eax, dword [esp + 0xe8]
fld dword [esi + eax*4]
fchs
jmp 0x1005a8b7
mov edx, dword [esp + 0xa4]
cmp eax, edx
jg 0x1005a88a
mov eax, ebx
neg eax
imul eax, dword [esp + 0xb4]
add eax, dword [esp + 0x9c]
fld dword [esi + eax*4]
fchs
jmp 0x1005a8b7
mov edx, dword [esp + 0x90]
cmp eax, edx
jg 0x1005a8a1
mov eax, dword [esp + 0x13c]
fld dword [esi + eax*4]
jmp 0x1005a8b7
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 0x1005a550
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 0x1005a418
jmp 0x1005aa70
add esi, edi
cmp esi, ecx
jl 0x10059b40
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 0x1005aa53
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 0x1005a418
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x1005aa2e
mov eax, dword [esp + 0xcc]
add ecx, 1
cmp ecx, eax
jl 0x10059bac
jmp 0x1005a3c0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1005aaa3
mov edx, 1
jmp 0x1005a416
add esi, edi
cmp esi, ecx
jl 0x10059b40
jmp 0x1005aa38
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.10058bc8
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 0x1005993f