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

Disassembly:
push ebp
xor ecx, ecx
push edi
xor edi, edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [0x429ac0]
mov dword [esp + 0x8c], ecx
shl eax, 2
mov dword [esp], eax
call fcn.00419c60
mov dword [0x429bf0], eax
mov ebx, dword [0x429ac0]
mov esi, eax
cmp edi, ebx
jge 0x4051c9
mov eax, dword [0x429450]
nop
lea esi, [esi]
shl eax, 2
mov dword [esp], eax
call fcn.00419c60
mov dword [esi + edi*4], eax
mov eax, dword [0x429450]
xor esi, esi
cmp esi, eax
jge 0x4051b2
lea esi, [esi]
mov edx, dword [0x429bf0]
mov ebx, dword [edx + edi*4]
mov dword [esp], 0x60
call fcn.00419c60
mov dword [ebx + esi*4], eax
inc esi
mov eax, dword [0x429450]
cmp esi, eax
jl 0x405190
mov ebx, dword [0x429ac0]
inc edi
cmp edi, ebx
jge 0x406573
mov esi, dword [0x429bf0]
jmp 0x405170
xor edi, edi
mov esi, dword [0x429df0]
fldz
mov dword [esp + 0x3c], edi
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x60], esi
jge 0x405255
mov eax, dword [0x429460]
mov edx, dword [0x429e10]
mov ebp, dword [0x429d70]
mov dword [esp + 0x5c], eax
mov edi, dword [0x429bf0]
mov esi, dword [0x429440]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebp
xor edx, edx
cmp edx, ebx
jge 0x405247
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
fild dword [ebp + eax*4]
mov ebp, dword [ecx + eax*4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], ebp
mov ecx, dword [eax + ebp*4 - 4]
nop
mov ebp, dword [edi + edx*4]
fld st(0)
fmul qword [esi + edx*8]
inc edx
mov eax, dword [ebp + ecx*4 - 4]
cmp edx, ebx
fmul qword [eax]
faddp st(2)
jl 0x405230
fstp st(0)
inc dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x3c], edx
jl 0x40520a
fild dword [0x429b20]
xor edi, edi
cmp edi, ebx
fld1
fxch st(2)
fdivrp st(1)
jge 0x4052b5
mov esi, dword [0x429450]
mov ebp, dword [0x429bf0]
xor edx, edx
cmp edx, esi
jge 0x4052b0
fld st(1)
mov ecx, dword [ebp + edi*4]
fdiv st(1)
jmp 0x405290
mov eax, dword [ecx + edx*4]
inc edx
cmp edx, esi
fld qword [eax]
fmul st(1)
fstp qword [eax]
fld qword [eax + 8]
fmul st(1)
fstp qword [eax + 8]
fld qword [eax + 0x10]
fmul st(1)
fstp qword [eax + 0x10]
jl 0x405290
fstp st(0)
inc edi
cmp edi, ebx
jl 0x405273
fstp st(0)
fstp st(0)
cmp dword [0x429250], 1
jle 0x406224
cmp byte [0x4292a0], 0
jne 0x405325
mov ebx, dword [0x429f90]
mov eax, 1
cmp eax, ebx
jg 0x4057f1
mov edi, dword [0x4298e0]
mov dword [edi + eax*4 - 4], eax
mov ebx, dword [0x429f90]
inc eax
cmp eax, ebx
jle 0x4052e8
cmp byte [0x4298d0], 0
je 0x405804
mov dword [esp + 4], edi
mov dword [esp], 0x429c00
call fcn.00417260
mov ebx, dword [0x429f90]
mov edi, dword [0x4298e0]
jmp 0x405804
mov dword [esp], 0x429f40
mov ecx, dword [0x4295f0]
mov esi, 0x4297f0
mov dword [esp + 0x14], esi
mov edi, 0x426298
mov ebp, 0x42629b
mov dword [esp + 0xc], edi
mov ebx, 0x4262ab
lea esi, [esp + 0x9c]
mov dword [esp + 0x10], ecx
xor edi, edi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
call fcn.004211a0
mov dword [esp], esi
mov eax, dword [0x429f40]
lea edx, [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp + 0x9c], eax
call fcn.0041c030
inc dword [esp + 0xa0]
mov edx, dword [0x429ac0]
cmp edi, edx
jge 0x4054be
mov eax, dword [0x429450]
xor esi, esi
cmp esi, eax
jl 0x4053c0
inc edi
cmp edi, edx
jge 0x4054be
xor esi, esi
cmp esi, eax
jge 0x4053a7
lea esi, [esi]
lea edi, [edi]
mov edx, dword [0x429bf0]
mov ecx, dword [edx + edi*4]
mov ebx, dword [ecx + esi*4]
mov eax, dword [ebx + 0x50]
mov dword [esp], eax
call 0x424d30
mov ebp, dword [0x429bf0]
mov edx, dword [ebp + edi*4]
mov ecx, dword [edx + esi*4]
mov ebx, dword [ecx + 0x54]
mov dword [esp], ebx
call 0x424d30
mov eax, dword [0x429bf0]
mov ebp, dword [eax + edi*4]
mov edx, dword [ebp + esi*4]
mov ecx, dword [edx + 0x58]
mov dword [esp], ecx
call 0x424d30
mov ebx, dword [0x429bf0]
mov eax, dword [ebx + edi*4]
mov ebp, dword [eax + esi*4]
mov edx, dword [ebp + 0x5c]
mov dword [esp], edx
call 0x424d30
mov ecx, dword [0x429bf0]
mov eax, dword [esp + 0xa0]
mov ebx, dword [ecx + edi*4]
shl eax, 3
mov ebp, dword [ebx + esi*4]
mov dword [esp], eax
call fcn.00419c60
mov dword [ebp + 0x50], eax
mov edx, dword [0x429bf0]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [edx + edi*4]
shl ebx, 3
mov ebp, dword [ecx + esi*4]
mov dword [esp], ebx
call fcn.00419c60
mov dword [ebp + 0x54], eax
mov eax, dword [0x429bf0]
mov ecx, dword [esp + 0xa0]
mov edx, dword [eax + edi*4]
shl ecx, 3
mov ebx, dword [edx + esi*4]
mov dword [esp], ecx
call fcn.00419c60
mov dword [ebx + 0x58], eax
mov ebp, dword [0x429bf0]
mov edx, dword [esp + 0xa0]
mov eax, dword [ebp + edi*4]
shl edx, 3
mov ebx, dword [eax + esi*4]
mov dword [esp], edx
call fcn.00419c60
inc esi
mov dword [ebx + 0x5c], eax
mov eax, dword [0x429450]
cmp esi, eax
jl 0x4053c0
mov edx, dword [0x429ac0]
inc edi
cmp edi, edx
jl 0x4053b0
mov dword [esp], 0x429f40
call fcn.0041bd30
cmp eax, 0x64
mov ebp, eax
jle 0x40690f
mov edi, 0x64
mov dword [0x429c20], edi
cmp ebp, 2
jg 0x4069b9
mov ecx, dword [0x429c20]
xor esi, esi
shl ecx, 3
mov dword [esp], ecx
call fcn.00419c60
mov dword [0x4291d0], eax
mov ebx, dword [0x429c20]
shl ebx, 2
mov dword [esp], ebx
call fcn.00419c60
cmp esi, dword [0x429c20]
mov ebx, eax
mov dword [0x429510], eax
jl 0x405529
jmp 0x405546
mov ebx, dword [0x429510]
mov edx, dword [0x429df0]
shl edx, 3
mov dword [esp], edx
call fcn.00419c60
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [0x429c20]
jl 0x405523
cmp byte [0x429dc0], 0
jne 0x406944
mov dword [esp], 0x4261c1
mov edi, dword [0x429f60]
mov edx, 2
mov dword [esp + 8], edx
mov ecx, 1
mov ebx, 1
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edi
call 0x424d08
mov dword [0x429d80], ebx
mov eax, dword [0x429e60]
test ebp, ebp
mov dword [esp + 0x84], eax
jle 0x4066d3
movzx eax, byte [0x429011]
xor esi, esi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x94], esi
lea esi, [esp + 0x94]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dl, 1
mov cl, 1
mov dword [0x429e60], edi
mov esi, dword [0x429f40]
mov dword [esp + 0x2c], edi
mov edi, dword [0x429220]
mov byte [esp + 0x9b], dl
xor edx, edx
mov byte [esp + 0x93], cl
mov ecx, 0x402de0
mov byte [esp + 0x92], bl
mov ebx, 0x429a30
mov byte [0x429010], al
lea eax, [esp + 0x9b]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x93]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x92]
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0041d5f0
cmp byte [esp + 0x92], 0
je 0x40565e
cmp dword [0x429d80], ebp
jle 0x406860
cmp byte [0x429010], 0
mov ecx, dword [esp + 0x8c]
mov eax, dword [0x429220]
mov esi, dword [esp + 0x94]
mov ebx, dword [ecx + 0x24]
mov dword [0x429e60], esi
mov edi, dword [eax + ebx*4 - 4]
mov esi, edi
mov dword [esp + 0x8c], edi
mov dword [0x429224], edi
je 0x4067a0
fldz
fstp qword [esp + 0x68]
cmp byte [edi + 0x138], 0
jne 0x4056d0
mov ebx, dword [edi]
cmp ebx, edi
je 0x4056d0
mov eax, dword [ebx + 4]
call fcn.00403bb0
fld qword [esp + 0x68]
fcomp st(1)
fnstsw ax
sahf
jbe 0x406671
fstp qword [esp + 0x68]
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x4056af
fld qword [esp + 0x68]
fstp qword [esp + 4]
mov dword [esp], edi
call fcn.00422cd0
mov esi, dword [0x429224]
cmp byte [0x4292a0], 0
je 0x4056fc
cmp byte [0x429010], 0
jne 0x40668a
mov byte [0x429600], 1
mov edi, 3
mov byte [0x429a50], 1
jmp 0x40573d
cmp byte [0x429600], 0
jne 0x405776
movzx eax, byte [esp + 0x67]
mov esi, dword [0x429224]
lea esi, [esi]
lea edi, [edi]
cmp al, 1
sbb edi, 0
test edi, edi
js 0x40668a
xor eax, eax
test esi, esi
je 0x405730
cmp byte [esi + 0x138], 0
jne 0x405730
cmp byte [0x4292a0], 0
je 0x40575e
cmp byte [0x429010], 0
jne 0x405769
mov dword [esp], esi
call fcn.00423a50
movzx eax, al
cmp byte [0x429a50], 0
mov byte [esp + 0x67], al
je 0x405711
mov ebx, dword [esi]
nop
lea esi, [esi]
cmp ebx, esi
je 0x40571a
mov byte [esp + 0x66], 0
mov eax, dword [ebx + 4]
call fcn.00402e60
test al, al
jne 0x406680
cmp byte [esp + 0x67], 0
jne 0x406680
lea esi, [esi]
lea edi, [edi]
cmp byte [0x4292a0], 0
mov byte [esp + 0x65], 0
je 0x4057c9
xor eax, eax
cmp byte [0x429010], 0
jne 0x4057d4
mov dword [esp], esi
call fcn.00423a50
movzx eax, al
test al, al
jne 0x4057df
cmp byte [esp + 0x66], 0
je 0x4057e4
mov byte [esp + 0x65], 1
movzx ecx, byte [esp + 0x65]
mov ebx, dword [ebx]
mov byte [esp + 0x67], cl
jmp 0x405780
cmp byte [0x4298d0], 0
mov edi, dword [0x4298e0]
jne 0x405304
mov ecx, dword [0x429220]
mov edx, dword [ecx + ebx*4]
mov dword [0x429224], edx
mov dword [edx + 4], 0
xor edx, edx
jmp 0x405829
mov esi, dword [ecx + edx*4]
inc edx
mov dword [esi + 4], 0
cmp edx, ebx
jl 0x40581e
mov esi, dword [0x429e60]
mov edx, ebx
cmp ebx, esi
jge 0x405853
mov eax, dword [ecx + edx*4]
lea esi, [esi]
mov dword [eax + 4], 0
mov eax, dword [eax]
cmp eax, dword [ecx + edx*4]
jne 0x405840
inc edx
cmp edx, esi
jl 0x405839
mov byte [0x429600], 0
mov eax, dword [edi + 4]
mov ebp, dword [edi]
mov edi, dword [ecx + ebx*4]
mov edx, dword [ecx + eax*4 - 4]
mov eax, dword [ecx + ebp*4 - 4]
mov dword [esp], edi
call fcn.00402f50
cmp byte [0x429b00], 0
jne 0x4061ef
mov byte [0x4291a0], 0
mov edx, 3
mov ebx, dword [0x429f90]
mov dword [esp + 0x50], edx
cmp dword [esp + 0x50], ebx
mov byte [0x429a50], 0
jg 0x405eeb
mov ecx, dword [0x4298e0]
mov esi, 0x3ff00000
xor eax, eax
mov dword [0x4296e4], esi
mov edi, dword [esp + 0x50]
mov edx, 0x3ff00000
mov dword [0x429bd0], eax
mov esi, dword [0x429224]
xor ebp, ebp
mov dword [0x429bd4], edx
mov eax, dword [ecx + edi*4 - 4]
mov dword [0x4296e0], ebp
mov edx, dword [0x429220]
mov dword [0x4297d0], esi
mov edi, dword [esp + 0x50]
mov ecx, dword [edx + eax*4 - 4]
lea ebp, [ebx + edi]
cmp edi, ebx
mov dword [esp + 0xb0], ecx
mov eax, dword [edx + ebp*4 - 8]
sete byte [0x4291a0]
test esi, esi
mov edx, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
je 0x405a24
cmp byte [0x429012], 0
je 0x406132
mov dword [esp], edx
mov edx, dword [esp + 0xc4]
mov eax, esi
call fcn.00402f50
mov dword [esp], esi
call fcn.00402700
cmp byte [0x4291a0], 0
fst qword [0x429a90]
je 0x4059b6
fld qword [0x429bd0]
fcom st(1)
fnstsw ax
sahf
jbe 0x4061e8
fld1
fcompp
fnstsw ax
sahf
jne 0x4059b6
fstp st(0)
mov dword [esp], 0x429220
mov ebp, dword [0x429ac0]
mov ecx, 0x429bc0
mov dword [esp + 4], ecx
mov edi, dword [0x429e60]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
call fcn.00414650
cmp byte [0x429012], 0
jne 0x406335
fld qword [0x429a90]
fld qword [0x4296e0]
fcom st(1)
fnstsw ax
sahf
jb 0x4060af
fcomp qword [0x426538]
fnstsw ax
sahf
jne 0x406154
fstp qword [0x4296e0]
mov dword [0x4297d0], esi
mov dword [esp], 1
lea edx, [esp + 0xc0]
lea eax, [esp + 0xc4]
call fcn.004032e0
cmp byte [0x429012], 0
je 0x406117
cmp byte [esi + 0x138], 0
je 0x4060b6
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [0x4297d0]
mov edx, ecx
mov esi, 0x429bc0
call fcn.00402f50
mov edi, dword [0x429224]
mov dword [esp], edi
call fcn.00402700
mov dword [esp + 4], esi
mov ebp, dword [0x429ac0]
mov ecx, dword [0x429e60]
fstp qword [0x429a90]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ecx
mov dword [esp], 0x429220
call fcn.00414650
mov edx, dword [0x429224]
mov eax, dword [esp + 0xb8]
test edx, edx
je 0x405a83
mov eax, edx
fld qword [0x429230]
mov dword [esp + 0xb8], eax
fcomp qword [0x429bd0]
fnstsw ax
sahf
ja 0x40604f
cmp byte [0x429b00], 0
jne 0x406085
cmp byte [0x4291a0], 0
je 0x405ed7
cmp byte [0x4293e0], 0
je 0x405ed7
movzx eax, byte [0x429b00]
test al, al
jne 0x40615b
mov byte [0x429012], 0
xor ebx, ebx
test al, al
mov byte [esp + 0x8b], bl
jne 0x405dd6
lea esi, [esi]
mov ecx, dword [0x429e60]
xor ebp, ebp
cmp ebp, ecx
jge 0x405d83
fld qword [0x429bd0]
xor edi, edi
mov esi, 0x3ff00000
mov dword [0x4296e0], edi
mov eax, dword [0x429220]
mov dword [0x4296e4], esi
mov eax, dword [eax + ebp*4]
cmp dword [0x429224], eax
fstp qword [esp + 0x78]
mov dword [esp + 0xb0], eax
je 0x405d18
mov ecx, dword [eax + 4]
mov dword [esp], 0x429220
mov dword [esp + 4], ecx
call fcn.00418e20
mov dword [esp + 0xb4], eax
mov edx, dword [0x429224]
cmp edx, eax
je 0x405e10
mov eax, dword [eax]
mov edi, dword [eax + 4]
cmp edi, dword [esp + 0xb0]
je 0x406541
mov dword [esp], 0
lea edx, [esp + 0xb4]
lea eax, [esp + 0xb0]
call fcn.004032e0
mov dword [0x4297d0], edi
mov esi, dword [0x429224]
mov ecx, edi
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
test esi, esi
mov dword [esp + 0x4c], eax
mov ebx, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
je 0x405cd8
cmp byte [0x429012], 0
je 0x405e30
mov dword [esp], ebx
mov edx, dword [esp + 0xac]
mov eax, esi
call fcn.00402f50
mov dword [esp], esi
call fcn.00402700
cmp byte [0x4291a0], 0
fst qword [0x429a90]
je 0x405c60
fld qword [0x429bd0]
fcom st(1)
fnstsw ax
sahf
jbe 0x40602e
fcomp qword [0x426538]
fnstsw ax
sahf
jne 0x405c60
fstp st(0)
mov dword [esp], 0x429220
mov edx, dword [0x429ac0]
mov ecx, 0x429bc0
mov dword [esp + 4], ecx
mov ebx, dword [0x429e60]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
call fcn.00414650
cmp byte [0x429012], 0
jne 0x406035
fld qword [0x429a90]
lea esi, [esi]
lea edi, [edi]
fld qword [0x4296e0]
fcom st(1)
fnstsw ax
sahf
jb 0x405de7
fcomp qword [0x426538]
fnstsw ax
sahf
jne 0x405ed0
fstp qword [0x4296e0]
mov dword [0x4297d0], esi
mov dword [esp], 1
lea edx, [esp + 0xa8]
lea eax, [esp + 0xac]
call fcn.004032e0
cmp byte [0x429012], 0
je 0x405eb3
cmp byte [esi + 0x138], 0
je 0x405e52
mov esi, dword [esp + 0xb4]
mov ecx, dword [0x4297d0]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x4c], esi
cmp edi, ecx
je 0x405cf4
fld qword [0x429bd0]
fcomp qword [esp + 0x78]
fnstsw ax
sahf
jbe 0x405cf4
mov bl, 1
mov byte [esp + 0x8b], bl
mov edi, dword [esp + 0x4c]
mov eax, dword [0x4297d0]
mov dword [esp], edi
call fcn.00402f50
cmp byte [0x429012], 0
jne 0x405df0
mov ecx, dword [0x429e60]
cmp byte [0x429b00], 0
je 0x405d7a
mov eax, ecx
mov ebx, 0x38e38e39
mov esi, ecx
imul ebx
mov eax, ebp
sar esi, 0x1f
sar edx, 4
sub edx, esi
inc edx
mov ecx, edx
cdq
idiv ecx
test edx, edx
jne 0x405d64
mov ecx, dword [0x42a150]
mov edi, dword [ecx + 0x24]
dec edi
mov dword [ecx + 0x24], edi
test edi, edi
js 0x40654b
mov esi, dword [0x42a150]
mov edx, dword [esi + 0x20]
mov byte [edx], 0x2e
inc dword [esi + 0x20]
mov eax, dword [0x42a150]
add eax, 0x20
mov dword [esp], eax
call fcn.00424d48
mov ecx, dword [0x429e60]
inc ebp
cmp ebp, ecx
jl 0x405b00
cmp byte [0x429b00], 0
je 0x405db0
mov edi, dword [0x42a150]
mov ebp, dword [edi + 0x24]
dec ebp
mov dword [edi + 0x24], ebp
test ebp, ebp
js 0x406653
mov ecx, dword [0x42a150]
mov esi, dword [ecx + 0x20]
mov byte [esi], 0xa
inc dword [ecx + 0x20]
cmp byte [esp + 0x8b], 0
je 0x405ed7
movzx eax, byte [0x429b00]
xor ebx, ebx
mov byte [esp + 0x8b], bl
test al, al
je 0x405af0
mov dword [esp], 0x4262b2
call fcn.00424d50
jmp 0x405af0
fstp st(0)
jmp 0x405c80
mov dword [esp], 0x429220
mov edx, dword [0x429a80]
mov dword [esp + 4], edx
call fcn.00422f90
jmp 0x405d12
mov edx, dword [edx]
mov ebx, dword [edx + 4]
cmp ebx, dword [esp + 0xb0]
mov edi, ebx
jne 0x405b72
mov eax, dword [edx]
mov edi, dword [eax + 4]
jmp 0x405b72
mov dword [esp], 0x429220
mov edx, dword [0x429a80]
mov dword [esp + 4], edx
call fcn.00422f50
mov ebx, dword [esp + 0xa8]
jmp 0x405bd1
mov eax, dword [esi]
mov ecx, 1
mov ebx, 1
mov edx, dword [esp + 0xac]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.004035b0
mov ebx, dword [esi]
mov ecx, 1
mov esi, 1
mov edx, dword [esp + 0xac]
mov eax, dword [ebx]
mov ebx, dword [esp + 0xa8]
mov eax, dword [eax + 4]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004035b0
jmp 0x405cc0
mov dword [esp], 0x429220
mov ecx, dword [0x429a80]
mov dword [esp + 4], ecx
call fcn.00422f90
jmp 0x405cb3
fstp st(0)
jmp 0x405c8c
inc dword [esp + 0x50]
mov ebx, dword [0x429f90]
cmp dword [esp + 0x50], ebx
jle 0x4058a6
mov eax, dword [0x429730]
cmp eax, 1
jle 0x405f02
cmp byte [0x4291a0], 0
jne 0x406498
mov edx, dword [0x429250]
cmp edx, eax
je 0x406350
mov edx, dword [esp + 0x8c]
xor esi, esi
mov dword [esp], edx
call 0x424d30
mov edx, dword [0x429ac0]
cmp esi, edx
jge 0x406016
mov eax, dword [0x429450]
jmp 0x405f3f
inc esi
cmp esi, edx
jge 0x405fc6
xor ebx, ebx
cmp ebx, eax
jge 0x405f36
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [0x429bf0]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + ebx*4]
mov edi, dword [eax + 0x50]
mov dword [esp], edi
call 0x424d30
mov ebp, dword [0x429bf0]
mov ecx, dword [ebp + esi*4]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0x54]
mov dword [esp], eax
call 0x424d30
mov edi, dword [0x429bf0]
mov ebp, dword [edi + esi*4]
mov ecx, dword [ebp + ebx*4]
mov edx, dword [ecx + 0x58]
mov dword [esp], edx
call 0x424d30
mov eax, dword [0x429bf0]
mov edi, dword [eax + esi*4]
mov ebp, dword [edi + ebx*4]
inc ebx
mov ecx, dword [ebp + 0x5c]
mov dword [esp], ecx
call 0x424d30
mov eax, dword [0x429450]
cmp ebx, eax
jl 0x405f50
mov edx, dword [0x429ac0]
inc esi
cmp esi, edx
jl 0x405f3f
xor esi, esi
cmp esi, edx
jge 0x406016
xor ebx, ebx
cmp ebx, dword [0x429450]
jge 0x405ffc
lea esi, [esi]
lea edi, [edi]
mov eax, dword [0x429bf0]
mov edi, dword [eax + esi*4]
mov ebp, dword [edi + ebx*4]
inc ebx
mov dword [esp], ebp
call 0x424d30
cmp ebx, dword [0x429450]
jl 0x405fe0
mov edx, dword [0x429bf0]
mov ebx, dword [edx + esi*4]
inc esi
mov dword [esp], ebx
call 0x424d30
cmp esi, dword [0x429ac0]
jl 0x405fcc
mov eax, dword [0x429bf0]
mov dword [esp], eax
call 0x424d30
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
jmp 0x405c15
mov dword [esp], 0x429220
mov eax, dword [0x429a80]
mov dword [esp + 4], eax
call fcn.00422f50
jmp 0x405c4d
mov dword [esp], 0x429220
mov ebx, dword [0x429ac0]
mov edx, 0x429bc0
mov dword [esp + 4], edx
mov esi, dword [0x429e60]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
call fcn.00414650
cmp byte [0x429b00], 0
je 0x405aac
mov ecx, dword [esp + 0x50]
mov edi, 1
mov ebp, dword [0x4298e0]
mov dword [esp + 4], edi
dec ecx
mov dword [esp], ecx
mov dword [esp + 8], ebp
call fcn.00418c40
call fcn.004193a0
jmp 0x405aac
fstp st(0)
jmp 0x4059d6
mov ebp, dword [esi]
mov ecx, 1
mov edi, 1
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov eax, dword [ebp + 4]
mov dword [esp + 8], edi
mov edi, 1
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.004035b0
mov eax, dword [esi]
mov ecx, 1
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebp, dword [eax]
mov eax, dword [ebp + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.004035b0
jmp 0x405a16
mov dword [esp], 0x429220
mov ebx, dword [0x429a80]
mov dword [esp + 4], ebx
call fcn.00422f90
jmp 0x405a09
mov dword [esp], 0x429220
mov ebx, dword [0x429a80]
mov dword [esp + 4], ebx
call fcn.00422f50
mov edx, dword [esp + 0xc0]
jmp 0x405936
fstp st(0)
jmp 0x4059e2
mov dword [esp], 0x4262b6
call fcn.00424d10
mov dword [esp], 0x4262d2
call fcn.00424d50
mov ecx, dword [0x429e60]
mov ebx, 1
cmp ebx, ecx
jg 0x4061d0
mov eax, ecx
mov ebp, 0x38e38e39
mov edi, ecx
imul ebp
mov eax, ebx
sar edi, 0x1f
sar edx, 4
sub edx, edi
inc edx
mov esi, edx
cdq
idiv esi
test edx, edx
jne 0x4061cb
mov esi, dword [0x42a150]
mov ecx, dword [esi + 0x24]
dec ecx
mov dword [esi + 0x24], ecx
test ecx, ecx
js 0x406926
mov edi, dword [0x42a150]
mov edx, dword [edi + 0x20]
mov byte [edx], 0x2d
inc dword [edi + 0x20]
mov ecx, dword [0x429e60]
inc ebx
cmp ebx, ecx
jle 0x406182
mov dword [esp], 0x4262d6
call fcn.00424d10
movzx eax, byte [0x429b00]
jmp 0x405ad5
fstp st(0)
jmp 0x405978
mov dword [esp], 0x4262d8
call fcn.00424d10
mov dword [esp], 0
mov ecx, dword [0x4298e0]
mov ebx, 2
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00418c40
call fcn.004193a0
jmp 0x40587f
cmp byte [0x4291e0], 0
jne 0x406236
cmp byte [0x429260], 0
je 0x40628f
mov dword [esp], 0x4262ec
mov ebp, dword [0x429f60]
mov ecx, 0x33
mov dword [esp + 8], ecx
mov edi, 1
mov esi, 0x426320
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebp
call 0x424d08
fld qword [0x4297e0]
mov dword [esp + 4], esi
mov ebx, dword [0x429f60]
fstp qword [esp + 0x10]
fld qword [0x429c30]
mov dword [esp], ebx
fstp qword [esp + 8]
call 0x424d58
mov ebx, dword [0x429ac0]
dec ebx
jg 0x4069dc
cmp dword [0x429450], 1
jle 0x4052c6
mov dword [esp], 0x426358
mov eax, dword [0x429f60]
mov ecx, 1
mov dword [esp + 4], ecx
mov ebp, 0x21
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call 0x424d08
xor edx, edx
cmp edx, dword [0x429450]
jge 0x406309
mov edi, dword [0x429480]
lea ebx, [edx + 1]
mov esi, 0x42637a
fld qword [edi + edx*8]
mov edx, dword [0x429f60]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edx
fstp qword [esp + 0xc]
call 0x424d58
mov edx, ebx
cmp edx, dword [0x429450]
jl 0x4062d4
mov dword [esp], 0x4261c1
mov eax, dword [0x429f60]
mov ebp, 2
mov dword [esp + 8], ebp
mov ecx, 1
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
call 0x424d08
jmp 0x4052c6
mov dword [esp], 0x429220
mov edx, dword [0x429a80]
mov dword [esp + 4], edx
call fcn.00422f50
jmp 0x4059b0
dec edx
jg 0x406518
mov dword [esp], 0x429bc0
mov edi, dword [0x429ac0]
mov eax, 0x429220
mov dword [esp + 4], eax
mov ebp, dword [0x429e60]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
call fcn.00414650
mov dword [esp], 0x4261c1
mov edx, dword [0x429f60]
mov ecx, 1
mov dword [esp + 4], ecx
mov esi, 2
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
call 0x424d08
cmp byte [0x4292a0], 0
je 0x4063be
cmp byte [0x429010], 0
jne 0x4068b0
mov byte [0x429600], 1
mov esi, dword [0x429224]
xor edi, edi
mov byte [0x429a50], 1
jmp 0x4063f8
cmp byte [0x429600], 0
jne 0x406431
movzx eax, byte [esp + 0x77]
mov esi, dword [0x429224]
cmp al, 1
adc edi, 0
cmp edi, 3
jg 0x4068b6
xor eax, eax
test esi, esi
je 0x4063ea
cmp byte [esi + 0x138], 0
jne 0x4063ea
cmp byte [0x4292a0], 0
je 0x406419
cmp byte [0x429010], 0
jne 0x406424
mov dword [esp], esi
call fcn.00423a50
movzx eax, al
cmp byte [0x429a50], 0
mov byte [esp + 0x77], al
je 0x4063d6
mov ebx, dword [esi]
cmp ebx, esi
je 0x4063df
mov byte [esp + 0x76], 0
mov eax, dword [ebx + 4]
call fcn.00402e60
test al, al
jne 0x406569
cmp byte [esp + 0x77], 0
jne 0x406569
cmp byte [0x4292a0], 0
mov byte [esp + 0x75], 0
je 0x406470
xor eax, eax
cmp byte [0x429010], 0
jne 0x40647b
mov dword [esp], esi
call fcn.00423a50
movzx eax, al
test al, al
jne 0x406486
cmp byte [esp + 0x76], 0
je 0x40648b
mov byte [esp + 0x75], 1
movzx eax, byte [esp + 0x75]
mov ebx, dword [ebx]
mov byte [esp + 0x77], al
jmp 0x406433
xor esi, esi
cmp esi, ebx
jge 0x4064c3
mov dword [esp], 0
mov ebx, dword [0x429220]
lea edx, [esp + 0xa4]
lea eax, [ebx + esi*4]
inc esi
call fcn.004032e0
cmp esi, dword [0x429f90]
jl 0x40649e
mov edx, dword [0x429250]
cmp edx, 1
je 0x4064df
fld qword [0x429b60]
fcomp qword [0x429bd0]
fnstsw ax
sahf
jae 0x40650e
mov dword [esp], 0x429bc0
mov ecx, dword [0x429ac0]
mov ebp, 0x429b50
mov dword [esp + 4], ebp
mov edi, dword [0x429e60]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
call fcn.00414650
mov edx, dword [0x429250]
mov eax, dword [0x429730]
jmp 0x405f08
mov dword [esp], 0x429b50
mov ebx, dword [0x429ac0]
mov esi, 0x429220
mov dword [esp + 4], esi
mov edx, dword [0x429e60]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
jmp 0x40637b
mov eax, dword [eax]
mov edi, dword [eax + 4]
jmp 0x405b72
mov dword [esp], 0x2e
mov ebx, dword [0x42a150]
add ebx, 0x20
mov dword [esp + 4], ebx
call 0x424d60
jmp 0x405d64
mov byte [esp + 0x76], 1
jmp 0x406457
xor edi, edi
cmp edi, ebx
jge 0x4051c9
mov eax, dword [0x429450]
jmp 0x40658d
inc edi
cmp edi, ebx
jge 0x4051c9
xor esi, esi
cmp esi, eax
jge 0x406584
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [0x429480]
mov edx, dword [0x429ba0]
mov ecx, dword [0x429bf0]
fld qword [ebx + esi*8]
fmul qword [edx + edi*8]
mov eax, dword [ecx + edi*4]
mov ebp, dword [eax + esi*4]
fld st(0)
fmul qword [0x429950]
fxch st(1)
fst qword [ebp]
fmul qword [0x429a60]
fxch st(1)
fstp qword [ebp + 8]
fstp qword [ebp + 0x10]
mov dword [esp], 0x10
call fcn.00419c60
mov dword [ebp + 0x50], eax
mov ecx, dword [0x429bf0]
mov eax, dword [ecx + edi*4]
mov ebx, dword [eax + esi*4]
mov dword [esp], 0x10
call fcn.00419c60
mov dword [ebx + 0x54], eax
mov ebp, dword [0x429bf0]
mov edx, dword [ebp + edi*4]
mov ebx, dword [edx + esi*4]
mov dword [esp], 0x10
call fcn.00419c60
mov dword [ebx + 0x58], eax
mov ecx, dword [0x429bf0]
mov eax, dword [ecx + edi*4]
mov ebp, dword [eax + esi*4]
inc esi
mov dword [esp], 0x10
call fcn.00419c60
mov dword [ebp + 0x5c], eax
mov eax, dword [0x429450]
cmp esi, eax
jl 0x4065a0
mov ebx, dword [0x429ac0]
jmp 0x406584
mov dword [esp], 0xa
mov edx, dword [0x42a150]
add edx, 0x20
mov dword [esp + 4], edx
call 0x424d60
jmp 0x405db0
fstp st(0)
mov ebx, dword [ebx]
jmp 0x4056cc
mov byte [esp + 0x66], 1
jmp 0x4057b0
mov dword [esp], esi
call fcn.00402700
fstp st(0)
cmp byte [0x429dc0], 0
jne 0x406844
mov eax, dword [0x429f60]
call fcn.00404100
cmp byte [0x429d20], 0
jne 0x40682d
mov eax, dword [0x429d80]
cmp eax, ebp
jl 0x4067eb
inc eax
cmp eax, ebp
mov dword [0x429d80], eax
jle 0x40559a
mov eax, dword [0x429f40]
test eax, eax
jne 0x406919
xor esi, esi
cmp byte [0x429200], 0
mov dword [0x429f40], esi
sete al
xor edx, edx
cmp ebp, 1
setg dl
test edx, eax
je 0x40670b
cmp dword [0x429740], 1
jg 0x406b65
mov edi, dword [0x429250]
mov ebp, dword [0x429730]
cmp edi, ebp
jne 0x405f10
cmp byte [0x429b00], 0
jne 0x406bd1
mov ecx, dword [0x429470]
mov dword [esp], ecx
call 0x424d30
mov esi, dword [0x429220]
mov edx, dword [0x429e60]
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00416480
cmp byte [0x4292a0], 0
jne 0x405f10
mov edi, dword [0x429bc0]
mov ebp, dword [0x429e60]
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.00416480
cmp dword [0x429730], 1
jle 0x405f10
mov eax, dword [0x429b50]
mov ebx, dword [0x429e60]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00416480
jmp 0x405f10
cmp byte [edi + 0x138], 0
jne 0x4056e6
mov dword [esp], edi
call fcn.00419760
test eax, eax
jle 0x4067d8
mov ebx, eax
mov esi, dword [esi]
mov edx, 0x3fd33333
mov eax, dword [esi + 4]
mov dword [esp], 0x33333333
mov dword [esp + 4], edx
call fcn.004050b0
dec ebx
jne 0x4067bb
mov dword [esp], edi
call fcn.00422c90
fsub qword [0x426530]
jmp 0x4056d4
mov ebx, dword [0x429220]
mov edi, dword [0x429e60]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00416410
mov eax, dword [0x429224]
mov edx, 0x429a30
mov ecx, dword [0x429220]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.0040baa0
mov eax, dword [0x429d80]
jmp 0x4066c5
mov eax, dword [0x429224]
xor esi, esi
mov dword [0x429d40], esi
call fcn.00404dc0
jmp 0x4066b8
mov edi, dword [0x429f60]
mov ebx, 0x429220
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.004240f0
jmp 0x4066a1
mov dword [esp], 0xa
call 0x424d00
mov dword [esp], 0x426388
call fcn.00424d10
mov dword [esp + 4], ebp
mov dword [esp], 0x4263b0
call fcn.00424d50
mov dword [esp], 0x4263d4
mov edi, dword [0x429d80]
dec edi
mov dword [esp + 4], edi
call fcn.00424d50
mov dword [esp], 0xffffffff
call fcn.004194c0
jmp 0x40565e
mov esi, dword [0x429224]
mov dword [esp], esi
call fcn.00402700
fstp st(0)
mov ebx, dword [0x429224]
mov dword [esp], ebx
call fcn.00402700
cmp byte [0x429dc0], 0
fstp qword [0x429230]
jne 0x406b49
mov eax, dword [0x429f60]
call fcn.00404100
cmp byte [0x429d20], 0
je 0x40670b
mov eax, dword [0x429224]
xor ecx, ecx
mov dword [0x429d40], ecx
call fcn.00404dc0
jmp 0x40670b
mov dword [0x429c20], eax
jmp 0x4054e0
mov dword [esp], eax
call 0x424d20
jmp 0x4066e0
mov dword [esp], 0x2d
mov ebp, dword [0x42a150]
add ebp, 0x20
mov dword [esp + 4], ebp
call 0x424d60
jmp 0x4061c5
mov dword [esp], 0x4263fe
mov eax, dword [0x429f60]
mov esi, 0x11
mov dword [esp + 8], esi
mov edi, 1
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
call 0x424d08
cmp ebp, 1
jle 0x40698c
mov edx, dword [0x429f60]
mov ebx, dword [edx + 4]
dec ebx
mov dword [edx + 4], ebx
test ebx, ebx
js 0x406bbc
mov ecx, dword [edx]
mov byte [ecx], 0x73
inc dword [edx]
mov dword [esp], 0x426410
mov esi, dword [0x429f60]
mov edi, 3
mov dword [esp + 8], edi
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
call 0x424d08
jmp 0x405553
mov dword [esp], 0x4294a0
mov eax, 0x429c00
mov esi, 0x429bb0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call fcn.0041b6d0
jmp 0x4054e9
mov dword [esp], 0x426414
mov ebx, dword [0x429f60]
mov edx, 1
mov dword [esp + 4], edx
mov eax, 0x30
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call 0x424d08
xor edx, edx
jmp 0x406a5d
fstp st(0)
fld qword [ecx + edx*8]
fcom qword [0x426520]
fnstsw ax
sahf
jb 0x406ab5
fstp st(0)
fld qword [ecx + edx*8]
fcom qword [0x426528]
fnstsw ax
sahf
jae 0x406a9c
fstp qword [esp + 0x14]
mov ebx, dword [0x429ba0]
fld qword [ebx + edx*8]
lea ebx, [edx + 1]
mov edx, 0x426445
mov dword [esp + 8], ebx
fstp qword [esp + 0xc]
mov dword [esp + 4], edx
mov ecx, dword [0x429f60]
mov dword [esp], ecx
call 0x424d58
mov edx, ebx
cmp edx, dword [0x429ac0]
jge 0x406adc
mov ecx, dword [0x429440]
fld qword [ecx + edx*8]
fcom qword [0x426518]
fnstsw ax
sahf
jae 0x406a08
fstp qword [esp + 0x14]
mov edi, dword [0x429ba0]
mov esi, 0x426457
lea ebx, [edx + 1]
fld qword [edi + edx*8]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
fstp qword [esp + 0xc]
jmp 0x406a4d
fstp st(0)
fld qword [ecx + edx*8]
mov esi, 0x426469
mov edi, dword [0x429ba0]
lea ebx, [edx + 1]
fstp qword [esp + 0x14]
jmp 0x406a8b
fstp qword [esp + 0x14]
mov ebp, dword [0x429ba0]
mov ecx, 0x42647b
lea ebx, [edx + 1]
fld qword [ebp + edx*8]
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
fstp qword [esp + 0xc]
jmp 0x406a4d
mov edx, dword [0x429f60]
mov ebp, dword [edx + 4]
dec ebp
mov dword [edx + 4], ebp
test ebp, ebp
js 0x406c0d
mov eax, dword [edx]
mov byte [eax], 0xa
inc dword [edx]
cmp byte [0x429200], 0
je 0x406296
fld1
mov edx, dword [0x429f60]
mov esi, 0x426490
fdiv qword [0x429b40]
mov dword [esp + 4], esi
mov dword [esp], edx
fstp qword [esp + 8]
call 0x424d58
mov edx, dword [0x429f60]
mov ebx, dword [edx + 4]
dec ebx
mov dword [edx + 4], ebx
test ebx, ebx
js 0x406c22
mov edi, dword [edx]
mov byte [edi], 0xa
inc dword [edx]
jmp 0x406296
mov ebp, dword [0x429f60]
mov edi, 0x429220
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.004240f0
jmp 0x4068e1
fld qword [0x429ab0]
mov ecx, 0x429c00
xor edi, edi
mov dword [esp + 0x24], ecx
mov esi, dword [0x429460]
mov edx, dword [0x429510]
mov dword [esp + 8], edi
mov eax, dword [0x4291d0]
mov ebx, dword [0x429df0]
mov dword [esp + 0x20], esi
mov ecx, dword [0x429b30]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.00415750
jmp 0x40670b
mov dword [esp + 4], edx
mov dword [esp], 0x73
call 0x424d60
jmp 0x40698c
mov dword [esp], 0x4264d4
mov ebx, 0x4292f0
mov dword [esp + 4], ebx
call fcn.00424d50
cmp byte [0x429d20], 0
je 0x40672c
mov dword [esp], 0x4264f4
mov eax, 0x429520
mov dword [esp + 4], eax
call fcn.00424d50
jmp 0x40672c
mov dword [esp + 4], edx
mov dword [esp], 0xa
call 0x424d60
jmp 0x406af8
mov dword [esp + 4], edx
mov dword [esp], 0xa
call 0x424d60
jmp 0x406296