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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x13c]
push ebx
push esi
push edi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
xor eax, eax
push fcn.00521bd0
push ebp
push 0x413330
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x5f09d0
mov eax, dword [ebp + 8]
mov ecx, 1
call fcn.0040bdd0
mov edx, dword [ebp - 0x134]
lea eax, [edx + 1]
test eax, eax
je 0x523ae6
fldz
fld dword [ebp + 0x24]
fcompp
fnstsw ax
sahf
jp 0x521d74
je 0x523ae6
mov eax, dword [ebp + 0x18]
call fcn.00521100
test al, al
jne 0x523ae6
cmp dword [ebp - 0x134], 0
jl 0x521dec
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov edx, dword [ebp - 0x138]
lea eax, [edx + edi*8]
call fcn.00491920
test al, al
je 0x521de4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 0x130]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x134]
call fcn.00524bd0
jmp 0x523ae6
cmp dword [ebp - 0x134], edi
jg 0x521d98
test dword [ebp + 0x14], 4
je 0x521e28
mov edx, dword [ebp - 0x134]
lea eax, [edx + 1]
cmp eax, 2
jl 0x521e28
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 0x138]
call fcn.0043b1e0
test al, al
je 0x521e28
or dword [ebp + 0x14], 2
lea esi, [esi]
test dword [ebp + 0x14], 0x10
je 0x521e38
and dword [ebp + 0x14], 0xfffffffe
lea esi, [esi]
fld dword [ebp + 0x24]
fmul dword [0x609004]
fstp dword [ebp - 0x4c]
mov eax, dword [ebp - 0x130]
sub eax, 1
jbe 0x521e58
sub eax, 1
je 0x521e6c
jmp 0x521ea0
fld dword [ebp - 0x4c]
fld xword [0x609010]
fmulp st(1)
fstp dword [ebp - 0x88]
jmp 0x521ec0
fld dword [ebp + 0x10]
fld xword [0x609010]
fcompp
fnstsw ax
sahf
jp 0x521e91
jbe 0x521e91
fld dword [ebp - 0x4c]
fld xword [0x609010]
fmulp st(1)
fstp dword [ebp - 0x88]
jmp 0x521ec0
fld dword [ebp + 0x10]
fmul dword [ebp - 0x4c]
fstp dword [ebp - 0x88]
jmp 0x521ec0
mov ecx, str.Unknown_join_style
mov edx, 1
mov eax, 0x5c7644
call fcn.0041fa40
mov edx, 0x521ea0
mov ecx, ebp
call fcn.004131f0
fld dword [ebp - 0x4c]
fistp qword [ebp - 0xd8]
wait
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
add edx, 2
adc eax, 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x13c], 0
mov edx, dword [ebp - 0x134]
lea eax, [edx + 1]
add eax, 2
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x6091b0
lea eax, [ebp - 0x44]
mov ecx, 1
call fcn.0040bdd0
cmp dword [ebp - 0x134], 0
jl 0x521fbc
mov edi, 0xffffffff
mov esi, esi
add edi, 1
test dword [ebp - 0x13c], 0xffffffff
je 0x521f7f
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x13c]
sub edx, 1
fld dword [ecx + edx*8]
mov eax, dword [ebp - 0x138]
fsubr dword [eax + edi*8]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x521f60
jb 0x521f7f
fld dword [ecx + edx*8 + 4]
mov eax, dword [ebp - 0x138]
fsubr dword [eax + edi*8 + 4]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x521fb0
jae 0x521fb0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + edi*8]
mov eax, dword [ebp - 0x13c]
mov dword [edx + eax*8], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + edi*8 + 4]
mov eax, dword [ebp - 0x13c]
mov dword [edx + eax*8 + 4], ecx
add dword [ebp - 0x13c], 1
nop
cmp dword [ebp - 0x134], edi
jg 0x521f28
cmp dword [ebp - 0x13c], 1
jle 0x522010
test dword [ebp + 0x14], 2
je 0x522010
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x13c]
lea edx, [eax - 1]
fld dword [ecx + edx*8]
fsubr dword [ecx]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x522010
jb 0x522010
fld dword [ecx + edx*8 + 4]
fsubr dword [ecx + 4]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x522010
jb 0x522010
sub dword [ebp - 0x13c], 1
nop
test dword [ebp + 0x14], 2
je 0x5220d2
cmp dword [ebp - 0x13c], 2
jle 0x5220d2
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x13c]
sub edx, 1
fld dword [ecx + edx*8]
fsubr dword [ecx]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x522085
jb 0x522085
fld dword [ecx + edx*8 + 4]
fsubr dword [ecx + 4]
fabs
fld xword [0x609040]
fcompp
fnstsw ax
sahf
jp 0x522085
jb 0x522085
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + edx*8 - 8], ebx
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + edx*8 - 4], eax
jmp 0x5220aa
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ebx, dword [ebp - 0x13c]
mov dword [ecx + ebx*8], edx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x13c]
mov dword [ecx + eax*8 + 4], edx
add dword [ebp - 0x13c], 1
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + edx*8], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + edx*8 + 4], eax
add dword [ebp - 0x13c], 1
jmp 0x5220d6
and dword [ebp + 0x14], 0xfffffffd
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x6091b0
lea eax, [ebp - 0x44]
mov ecx, 1
call fcn.0040bdd0
cmp dword [ebp - 0x13c], 1
jne 0x52214c
mov eax, dword [ebp - 4]
cmp eax, 2
je 0x523ae6
test eax, eax
jne 0x522121
test dword [ebp + 0x14], 1
jne 0x523ae6
mov eax, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
push dword [ebp - 0x4c]
push dword [ebp - 0x4c]
fld1
lea esp, [esp - 4]
fstp dword [esp]
mov eax, dword [ebp + 8]
call fcn.00527920
nop
jmp 0x523ae6
mov eax, dword [0x5b9980]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5b9984]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5b9980]
mov dword [ebp - 0xc], eax
mov eax, dword [0x5b9984]
mov dword [ebp - 8], eax
mov eax, dword [0x5b9980]
mov dword [ebp - 0x24], eax
mov eax, dword [0x5b9984]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5b9980]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5b9984]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
je 0x5221de
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call dword [edx + 0x78]
fstp dword [ebp - 0xc8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call dword [edx + 0x64]
fstp dword [ebp - 0xcc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call dword [edx + 0x74]
test al, al
sete byte [ebp - 0x128]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call dword [edx + 0x70]
test al, al
sete byte [ebp - 0x120]
jmp 0x5221fc
fldz
fstp dword [ebp - 0xc8]
fldz
fstp dword [ebp - 0xcc]
mov byte [ebp - 0x128], 1
mov byte [ebp - 0x120], 1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x522209
mov eax, dword [eax - 4]
add eax, 1
lea eax, [eax + eax + 4]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x609170
lea eax, [ebp - 0x34]
mov ecx, 1
call fcn.0040bdd0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x522239
mov eax, dword [eax - 4]
add eax, 1
lea eax, [eax + eax + 4]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x609190
lea eax, [ebp - 0x3c]
mov ecx, 1
call fcn.0040bdd0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x120]
test al, al
jne 0x522360
fld dword [ebp - 0xcc]
fchs
fmul dword [ebp + 0x24]
fstp dword [ebp - 0xcc]
fldz
fstp dword [ebp - 0xc4]
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
cmp eax, 1
jl 0x522360
mov edi, eax
add edi, 1
mov esi, esi
sub edi, 1
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 - 8]
mov edx, dword [ebp - 0x44]
lea edx, [edx + edi*8]
lea ecx, [ebp - 0x68]
call fcn.0043b310
lea eax, [ebp - 0x68]
call fcn.00491810
fstp dword [ebp - 0x84]
fld1
fdiv dword [ebp - 0x84]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x68]
call fcn.00490e50
mov al, byte [ebp - 0x120]
test al, al
jne 0x522344
fld dword [ebp - 0x84]
fadd dword [ebp - 0xc4]
fld dword [ebp - 0xcc]
fcompp
fnstsw ax
sahf
jp 0x522344
ja 0x522344
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + edi*8]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + edi*8 + 4]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x68]
call fcn.0043b320
fld dword [ebp - 0xc4]
fchs
fdiv dword [ebp + 0x24]
fstp dword [ebp - 0x2c]
mov byte [ebp - 0x120], 1
jmp 0x52235f
fld dword [ebp - 0x84]
fadd dword [ebp - 0xc4]
fstp dword [ebp - 0xc4]
cmp edi, 1
jg 0x5222b0
nop
fld dword [ebp - 0xc8]
fchs
fmul dword [ebp + 0x24]
fstp dword [ebp - 0xc8]
fldz
fstp dword [ebp - 0xc4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x522386
mov eax, dword [eax - 4]
add eax, 1
sub eax, 1
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x609150
lea eax, [ebp - 0x30]
mov ecx, 1
call fcn.0040bdd0
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
sub eax, 1
mov esi, eax
test esi, esi
jl 0x52269c
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x44]
lea edx, [edx + edi*8]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
call fcn.00491810
fstp dword [ebp - 0x84]
fld1
fdiv dword [ebp - 0x84]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x68]
call fcn.00490e50
mov al, byte [ebp - 0x128]
test al, al
jne 0x522470
fld dword [ebp - 0x84]
fadd dword [ebp - 0xc4]
fld dword [ebp - 0xc8]
fcompp
fnstsw ax
sahf
jp 0x522470
ja 0x522470
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + edi*8]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + edi*8 + 4]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x68]
call fcn.0043b320
fld dword [ebp - 0xc4]
fchs
fdiv dword [ebp + 0x24]
fstp dword [ebp - 0x28]
mov byte [ebp - 0x128], 1
nop
cmp dword [ebp - 4], 1
jne 0x522561
test dword [ebp + 0x14], 8
jne 0x522487
test edi, edi
je 0x5224a7
test dword [ebp + 0x14], 0x10
jne 0x522561
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
sub eax, 1
cmp eax, edi
jne 0x522561
test edi, edi
jne 0x5224d4
fld dword [ebp - 0x4c]
fchs
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xe0]
call fcn.0043b2e0
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x44]
call fcn.00490de0
nop
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
sub eax, 1
cmp eax, edi
jne 0x522510
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
lea ebx, [ebx + eax*8]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xe0]
call fcn.0043b2e0
lea edx, [ebp - 0xe0]
mov eax, ebx
call fcn.00490de0
nop
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x44]
lea edx, [edx + edi*8]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
call fcn.00491810
fstp dword [ebp - 0x84]
fld1
fdiv dword [ebp - 0x84]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x68]
call fcn.00490e50
jmp 0x5225a0
mov eax, dword [ebp + 0x14]
test eax, 8
jne 0x5225a0
cmp dword [ebp - 4], 0
jne 0x5225a0
test edi, edi
jne 0x5225a0
test eax, 2
jne 0x5225a0
push 1
push 0
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xe0]
call fcn.0043b320
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x44]
mov eax, ebp
call fcn.00524920
mov esi, esi
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
mov ecx, dword [ebp - 0x84]
mov dword [edx + eax + 0x20], ecx
fld dword [ebp - 0x4c]
fmul dword [ebp - 0x64]
lea esp, [esp - 4]
fstp dword [esp]
fld dword [ebp - 0x68]
fchs
fmul dword [ebp - 0x4c]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xe0]
call fcn.00491670
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
mov eax, dword [ebp - 0xe0]
mov dword [ecx + edx + 0x24], eax
mov eax, dword [ebp - 0xdc]
mov dword [ecx + edx + 0x28], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x24]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
mov eax, dword [ebp - 0xe0]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xdc]
mov dword [edx + ecx + 4], eax
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
mov eax, dword [ebp - 0x68]
mov dword [edx + ecx + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [edx + ecx + 0xc], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x24]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
mov eax, dword [ebp - 0xe0]
mov dword [ecx + edx + 0x10], eax
mov eax, dword [ebp - 0xdc]
mov dword [ecx + edx + 0x14], eax
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
mov eax, dword [ebp - 0x68]
mov dword [edx + ecx + 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [edx + ecx + 0x1c], eax
fld dword [ebp - 0x84]
fadd dword [ebp - 0xc4]
fstp dword [ebp - 0xc4]
cmp esi, edi
jg 0x5223c8
mov eax, dword [ebp - 0x30]
lea edx, [eax + 0x24]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
lea ebx, [ebp - 0xe0]
mov eax, dword [ebp - 0x30]
lea edx, [eax + 0x24]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xe8]
call fcn.0043b300
lea edx, [ebp - 0xe8]
mov eax, ebp
mov ecx, ebx
call fcn.00524a70
mov dword [ebp - 0xd0], 1
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x6091d0
lea eax, [ebp - 0x50]
mov ecx, 1
call fcn.0040bdd0
mov dword [ebp - 0xd0], 1
lea eax, [ebp - 0xd0]
push eax
mov edx, 0x6091d0
lea eax, [ebp - 0x54]
mov ecx, 1
call fcn.0040bdd0
mov byte [ebp - 0x12c], 0
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
sub eax, 2
mov esi, eax
test esi, esi
jl 0x523abc
mov edi, 0xffffffff
add edi, 1
mov byte [ebp - 0x124], 0
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x34]
mov eax, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea eax, [eax + ecx + 8]
call fcn.0043b2a0
fstp dword [ebp - 0x9c]
fld dword [ebp - 0x9c]
fld xword [0x609050]
fcompp
fnstsw ax
sahf
jp 0x5229b8
jbe 0x5229b8
test dword [ebp - 0x130], 0xffffffff
je 0x52281c
push dword [ebp - 0x88]
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 8]
lea edx, [ebp - 0xe8]
call fcn.0043b2e0
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
mov eax, dword [ecx + edx + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + edx + 0x28]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x124], 1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x12c], 1
jmp 0x523349
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [ecx + edx + 0x24]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea eax, [edx + eax + 8]
lea edx, [ebp - 0xe8]
call fcn.0043b2e0
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0xec]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005244a0
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [ecx + edx + 0x24]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0xf0]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005243c0
mov edx, 0xffffffff
mov eax, ebp
call fcn.005241e0
mov edx, 0xffffffff
mov eax, ebp
call fcn.00523f00
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [eax + edx + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xe0]
call fcn.0043b310
lea ebx, [ebp - 0xe0]
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xe8]
call fcn.0043b300
lea edx, [ebp - 0xe8]
mov eax, ebp
mov ecx, ebx
call fcn.00524a70
jmp 0x523349
fld dword [ebp - 0x9c]
fld xword [0x609060]
fcompp
fnstsw ax
sahf
jp 0x522bba
jae 0x522bba
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 0x10]
lea ecx, [ebp - 0xe0]
call fcn.0043b300
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x104], eax
push dword [0x609004]
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xe8]
call fcn.0043b300
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xe0]
call fcn.0043b2e0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xf4], eax
lea edx, [ebp - 0x108]
mov ecx, 2
mov eax, ebp
call fcn.005244a0
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 0x10]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x104], eax
push dword [0x609004]
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xe8]
call fcn.0043b300
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0xe0]
call fcn.0043b2e0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xf4], eax
lea edx, [ebp - 0x108]
mov ecx, 2
mov eax, ebp
call fcn.005243c0
jmp 0x523349
mov ecx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [ecx + eax]
imul eax, edi, 0x2c
lea eax, [ecx + eax + 0x2c]
fld dword [eax + 0xc]
fmul dword [edx + 8]
fld dword [eax + 8]
fmul dword [edx + 0xc]
fsubp st(1)
fstp dword [ebp - 0x9c]
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
mov eax, dword [edx + eax + 0x20]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
fld dword [ebp - 0xa0]
fld dword [eax + edx + 0x4c]
fcompp
fnstsw ax
sahf
jp 0x522c18
jae 0x522c18
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
mov eax, dword [edx + eax + 0x4c]
mov dword [ebp - 0xa0], eax
nop
cmp dword [ebp + 0x18], 0
je 0x522c48
fld dword [ebp + 0x24]
fmul dword [0x609000]
fld dword [ebp - 0xa0]
fcompp
fnstsw ax
sahf
jp 0x522c48
jbe 0x522c48
fld dword [ebp + 0x24]
fmul dword [0x609000]
fstp dword [ebp - 0xa0]
lea esi, [esi]
fld dword [ebp - 0xa0]
fmul st(0), st(0)
fld dword [ebp - 0x4c]
fmul st(0), st(0)
faddp st(1)
fsqrt
fstp dword [ebp - 0xa0]
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x2c]
mov ecx, dword [ebp - 0x30]
imul eax, edi, 0x2c
add eax, ecx
lea ecx, [ebp - 0x70]
call fcn.00491950
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x70]
call fcn.0043b310
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x80]
call fcn.0043b2a0
fsqrt
fstp dword [ebp - 0x84]
fld dword [ebp - 0x88]
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x522f19
jbe 0x522f19
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x522f19
jb 0x522f19
fld1
fdiv dword [ebp - 0x84]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x80]
call fcn.00490e50
test dword [ebp - 0x130], 0xffffffff
je 0x522e23
push dword [ebp - 0x88]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x100]
call fcn.0043b2e0
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x7c]
fld dword [ebp - 0x80]
fchs
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x124], 1
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
add eax, edx
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 0x2c]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005244a0
jmp 0x522fca
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
fld dword [ebp - 0x4c]
fmul dword [edx + ecx + 0xc]
fadd dword [eax + edi*8 + 8]
lea esp, [esp - 4]
fstp dword [esp]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
fld dword [ebp - 0x4c]
fmul dword [edx + eax + 8]
fsubr dword [ecx + edi*8 + 0xc]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x44]
lea eax, [edi + 1]
mov edx, dword [ebp - 0x30]
imul ebx, eax, 0x2c
fld dword [ebp - 0x4c]
fmul dword [edx + ebx + 0xc]
fadd dword [ecx + eax*8]
lea esp, [esp - 4]
fstp dword [esp]
mov ecx, dword [ebp - 0x44]
lea edx, [edi + 1]
mov ebx, dword [ebp - 0x30]
imul eax, edx, 0x2c
fld dword [ebp - 0x4c]
fmul dword [ebx + eax + 8]
fsubr dword [ecx + edx*8 + 4]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005244a0
jmp 0x522fca
fld dword [ebp - 0xa0]
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x522f52
jbe 0x522f52
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x522f52
ja 0x522f52
mov byte [ebp - 0x12c], 1
mov dword [ebp - 0x58], 0
jmp 0x522fca
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x522fb5
jbe 0x522fb5
fld dword [ebp - 0x4c]
fld xword [0x609070]
fmulp st(1)
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x522fb5
jbe 0x522fb5
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005244a0
jmp 0x522fca
mov dword [ebp - 0x58], 1
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x70]
mov dword [edx], eax
mov eax, dword [ebp - 0x6c]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x3c]
mov eax, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea eax, [eax + ecx + 0x10]
lea ecx, [ebp - 0x78]
call fcn.00491950
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
call fcn.00491810
fstp dword [ebp - 0x84]
fld dword [ebp - 0x88]
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x523298
jbe 0x523298
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523298
ja 0x523298
fld1
fdiv dword [ebp - 0x84]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0x80]
call fcn.00490e50
test dword [ebp - 0x130], 0xffffffff
je 0x5231a2
push dword [ebp - 0x88]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x100]
call fcn.0043b2e0
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x7c]
fld dword [ebp - 0x80]
fchs
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x124], 1
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 0x10]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea eax, [edx + eax + 0x3c]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005243c0
jmp 0x523349
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
imul ecx, edi, 0x2c
fld dword [ebp - 0x4c]
fmul dword [eax + ecx + 0x1c]
fsubr dword [edx + edi*8 + 8]
lea esp, [esp - 4]
fstp dword [esp]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
imul eax, edi, 0x2c
fld dword [ebp - 0x4c]
fmul dword [ecx + eax + 0x18]
fadd dword [edx + edi*8 + 0xc]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x44]
lea edx, [edi + 1]
mov eax, dword [ebp - 0x30]
imul ebx, edx, 0x2c
fld dword [ebp - 0x4c]
fmul dword [eax + ebx + 0x1c]
fsubr dword [ecx + edx*8]
lea esp, [esp - 4]
fstp dword [esp]
mov ecx, dword [ebp - 0x44]
lea edx, [edi + 1]
mov ebx, dword [ebp - 0x30]
imul eax, edx, 0x2c
fld dword [ebp - 0x4c]
fmul dword [ebx + eax + 0x18]
fadd dword [ecx + edx*8 + 4]
lea esp, [esp - 4]
fstp dword [esp]
lea eax, [ebp - 0xf8]
call fcn.00491670
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005243c0
jmp 0x523349
fld dword [ebp - 0xa0]
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x5232d1
jbe 0x5232d1
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x5232d1
jb 0x5232d1
mov byte [ebp - 0x12c], 1
mov dword [ebp - 0x5c], 0
jmp 0x523349
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523334
jae 0x523334
fld dword [ebp - 0x4c]
fld xword [0x609070]
fmulp st(1)
fld dword [ebp - 0x84]
fcompp
fnstsw ax
sahf
jp 0x523334
jbe 0x523334
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005243c0
jmp 0x523349
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x78]
mov dword [edx], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 4], eax
mov al, byte [ebp - 0x12c]
test al, al
je 0x523aa9
mov byte [ebp - 0x11c], 1
mov al, byte [ebp - 0x124]
test al, al
je 0x523564
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x52344c
jb 0x52344c
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
add eax, edx
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 0x2c]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xb8]
call fcn.0043b310
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xc0]
call fcn.0043b300
lea ecx, [ebp - 0xb8]
lea edx, [ebp - 0xc0]
mov eax, ebp
call fcn.00524a70
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524a70
jmp 0x523540
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 0x3c]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea eax, [eax + edx + 0x10]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xf8]
call fcn.00491950
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [ecx + edx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0xb8]
mov eax, ebp
call fcn.00524a70
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524a70
mov edx, 0xffffffff
mov eax, ebp
call fcn.00523f00
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xb0]
mov eax, ebp
call fcn.00524a70
jmp 0x523a48
test dword [ebp - 0x130], 0xffffffff
jne 0x5239bf
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523742
jbe 0x523742
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov ecx, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [ecx + edx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + edi*8 + 8]
mov dword [ebp - 0xc0], edx
mov eax, dword [eax + edi*8 + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005244a0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005243c0
mov edx, 0xffffffff
mov eax, ebp
call fcn.005241e0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0x114]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005244a0
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xc0]
mov dword [edx], eax
mov eax, dword [ebp - 0xbc]
mov dword [edx + 4], eax
mov edx, 0xffffffff
mov eax, ebp
call fcn.005241e0
mov edx, 0xffffffff
mov eax, ebp
call fcn.00523f00
jmp 0x523a48
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523910
jae 0x523910
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [eax + edx + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + edi*8 + 8]
mov dword [ebp - 0xc0], edx
mov eax, dword [eax + edi*8 + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005243c0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xe8]
mov ecx, 1
mov eax, ebp
call fcn.005244a0
mov edx, 0xffffffff
mov eax, ebp
call fcn.005241e0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x44]
lea edx, [eax + edi*8 + 8]
lea ecx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524580
lea ebx, [ebp - 0x118]
mov eax, dword [ebx]
call fcn.0040bca0
mov ecx, eax
mov edx, dword [ebx]
mov eax, ebp
call fcn.005243c0
mov dword [ebp - 0x58], 1
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc0]
mov dword [edx], eax
mov eax, dword [ebp - 0xbc]
mov dword [edx + 4], eax
mov edx, 0xffffffff
mov eax, ebp
call fcn.005241e0
mov edx, 0xffffffff
mov eax, ebp
call fcn.00523f00
jmp 0x523a48
cmp dword [ebp - 0x38], 1
jle 0x5239b0
cmp dword [ebp - 0x40], 1
jle 0x5239b0
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0xa8]
mov eax, ebp
call fcn.00524a70
mov edx, 0xffffffff
mov eax, ebp
call fcn.00523f00
jmp 0x523a48
lea edx, [edi + 1]
mov eax, ebp
call fcn.00523f00
jmp 0x523a48
lea edx, [edi + 1]
mov eax, ebp
call fcn.00523f00
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523a08
jbe 0x523a08
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b300
lea ecx, [ebp - 0xf8]
lea edx, [ebp - 0x70]
mov eax, ebp
call fcn.00524a70
jmp 0x523a48
fldz
fld dword [ebp - 0x9c]
fcompp
fnstsw ax
sahf
jp 0x523a48
jae 0x523a48
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 0x30]
imul ecx, edi, 0x2c
lea edx, [edx + ecx + 0x24]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x78]
mov eax, ebp
call fcn.00524a70
lea esi, [esi]
mov al, byte [ebp - 0x11c]
test al, al
je 0x523aa0
mov edx, dword [ebp - 0x30]
imul eax, edi, 0x2c
lea edx, [edx + eax + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0xf8]
call fcn.0043b310
lea ebx, [ebp - 0xf8]
mov eax, dword [ebp - 0x30]
imul edx, edi, 0x2c
lea edx, [eax + edx + 0x50]
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*8 + 8]
lea ecx, [ebp - 0x100]
call fcn.0043b300
lea edx, [ebp - 0x100]
mov eax, ebp
mov ecx, ebx
call fcn.00524a70
nop
mov byte [ebp - 0x12c], 0
jmp 0x523ab2
mov edx, edi
mov eax, ebp
call fcn.005241e0
cmp esi, edi
jg 0x522740
mov esi, esi
test dword [ebp + 0x14], 2
je 0x523ace
mov eax, ebp
call fcn.00523dd0
jmp 0x523adf
mov eax, dword [ebp - 0x44]
call fcn.0040bca0
mov edx, eax
mov eax, ebp
call fcn.00523f00
mov eax, ebp
call fcn.00523b20
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00521bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20