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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], ecx
dec eax
mov dword [esp + 0xa0], ecx
test eax, eax
jle 0x432d9d
lea eax, [ecx + 1]
xor ebx, ebx
mov dword [esp + 0x2c], eax
lea edx, [eax*8]
mov eax, dword [edi + 0x34]
shl ecx, 3
add edx, eax
add eax, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x8c], ecx
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x1c], ecx
jge 0x431d0b
mov ebx, 8
cmp eax, dword [esi + 0x18]
jle 0x431d13
or ebx, 2
mov eax, dword [esp + 0x28]
mov edi, dword [esi + 0x1c]
mov eax, dword [eax + 4]
cmp eax, edi
jge 0x431d24
or ebx, 4
cmp eax, dword [esi + 0x20]
jle 0x431d2c
or ebx, 1
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp eax, edx
jge 0x431d42
mov dword [esp + 0x1c], 8
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esi + 0x18]
jle 0x431d4e
or ecx, 2
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x44]
mov edi, dword [esi + 0x1c]
mov eax, dword [eax + 4]
cmp eax, edi
jge 0x431d63
or ecx, 4
mov dword [esp + 0x1c], ecx
cmp eax, dword [esi + 0x20]
jle 0x431d6f
or ecx, 1
mov dword [esp + 0x1c], ecx
test ebx, ebx
je 0x431ef6
test ecx, ecx
je 0x431ef6
test ebx, ecx
jne 0x432d83
cmp ebx, 4
jne 0x431d96
cmp ecx, 1
jne 0x431dc2
jmp 0x431ef6
cmp ebx, 1
jne 0x431da5
cmp ecx, 4
jne 0x431dc2
jmp 0x431ef6
cmp ebx, 8
jne 0x431db4
cmp ecx, 2
jne 0x431dc2
jmp 0x431ef6
cmp ebx, 2
jne 0x431dc2
cmp ecx, 8
je 0x431ef6
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0xac], eax
test bl, 4
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jne 0x431dee
test cl, 4
je 0x431e1e
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
push edi
push eax
call fcn.00432e00
add esp, 0x10
test eax, eax
jne 0x431ef6
mov ecx, dword [esp + 0x1c]
jmp 0x431e22
mov edi, dword [esp + 0x44]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x20]
test bl, 8
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jne 0x431e40
test cl, 8
je 0x431e6a
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
push edi
push eax
call fcn.00432ea0
add esp, 0x10
test eax, eax
jne 0x431ef6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
test bl, 1
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
jne 0x431e88
test cl, 1
je 0x431eae
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
push edi
push eax
call fcn.00432e00
add esp, 0x10
test eax, eax
jne 0x431ef6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
test bl, 2
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jne 0x431ed0
test cl, 2
je 0x432d83
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
push edi
push eax
call fcn.00432ea0
add esp, 0x10
test eax, eax
je 0x432d83
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x28], 0
dec ecx
test ecx, ecx
jle 0x432d83
cmp dword [0x534cd4], 1
jne 0x432c5f
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
shl ecx, 3
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0x8c]
add ecx, eax
lea esi, [edx + eax]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
lea edi, [eax*8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
lea ebx, [eax + edi]
lea edi, [edx*8]
mov dword [esp + 0xc0], edi
add edi, eax
mov eax, dword [ebx]
xor edx, edx
sub eax, dword [edi]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
fild dword [esp + 0x40]
sub eax, dword [edi + 4]
fst qword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [ecx]
fild dword [esp + 0x40]
sub eax, dword [esi]
mov ecx, dword [ecx + 4]
fstp qword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
fild dword [esp + 0x40]
sub ecx, eax
mov dword [esp + 0x40], ecx
fstp qword [esp + 0x48]
fild dword [esp + 0x40]
fstp qword [esp + 0x68]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
je 0x431fd3
fld qword [esp + 0x70]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
jne 0x431ff5
fld qword [esp + 0x48]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
je 0x431ffe
fld qword [esp + 0x68]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
je 0x431ffe
mov dword [esp + 0x14], edx
jmp 0x432254
mov eax, dword [esp + 0x80]
lea edx, [esp + 0xc4]
push edx
push eax
push esi
push ebx
call fcn.004340a0
fcomp qword [ebp + 0x10]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x43202a
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x88]
push ecx
push edx
push esi
push edi
call fcn.004340a0
fcomp qword [ebp + 0x10]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x432058
mov eax, dword [esp + 0x14]
or al, 2
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0xb0]
push eax
push ebx
push edi
push ecx
call fcn.004340a0
fcomp qword [ebp + 0x10]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x432086
mov eax, dword [esp + 0x14]
or al, 4
mov dword [esp + 0x14], eax
lea edx, [esp + 0xbc]
push edx
push ebx
push edi
push esi
call fcn.004340a0
fcomp qword [ebp + 0x10]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x4320ad
mov eax, dword [esp + 0x14]
or al, 8
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 4]
mov edx, dword [esi + 4]
mov dword [esp + 0x84], ecx
sub eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x98], edx
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0xb8], ecx
sub ecx, edx
mov edx, dword [ebx]
mov dword [esp + 0xb4], ecx
mov ecx, dword [edi]
sub edx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x80]
mov ecx, dword [edx]
mov edx, dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa4], edx
sub ecx, edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x9c], ecx
imul ecx, dword [esp + 0xcc]
imul edx, eax
mov eax, dword [esp + 0xb4]
add edx, ecx
mov ecx, eax
mov dword [esp + 0xe4], edx
imul ecx, eax
fild dword [esp + 0xe4]
fabs
mov eax, dword [esp + 0x9c]
mov edx, eax
imul edx, eax
mov eax, dword [esp + 0x10]
add ecx, edx
mov dword [esp + 0x9c], ecx
mov ecx, eax
imul ecx, eax
fild dword [esp + 0x9c]
fsqrt
mov eax, dword [esp + 0xcc]
mov edx, eax
imul edx, eax
add ecx, edx
mov edx, 1
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fsqrt
fmulp st(1)
fdivp st(1)
fcomp qword [0x51cd40]
fnstsw ax
test ah, 0x41
jne 0x4321a4
mov ecx, edx
mov dword [esp + 0xc8], ecx
jmp 0x4321ab
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x14]
cmp eax, edx
jne 0x4321d4
mov eax, dword [esp + 0xb0]
test eax, eax
jne case.0x4323a9.4
mov eax, dword [esp + 0xbc]
cmp eax, edx
jne 0x4321f0
mov eax, 5
jmp 0x432240
cmp eax, 2
jne 0x432202
mov eax, dword [esp + 0xb0]
test eax, eax
jne case.0x4323a9.4
mov eax, dword [esp + 0xbc]
cmp eax, 2
je 0x43223b
test eax, eax
jne case.0x4323a9.4
mov eax, 3
mov dword [esp + 0x14], eax
jmp 0x432383
cmp eax, 4
jne 0x4322f3
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x43222c
mov eax, dword [esp + 0x88]
cmp eax, edx
jne 0x43233d
mov eax, 5
jmp 0x432240
cmp eax, edx
jne case.0x4323a9.4
mov eax, dword [esp + 0x88]
test eax, eax
jne case.0x4323a9.4
mov eax, 6
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x43239d
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
fild dword [esp + 0x28]
mov edx, dword [ecx + 0x30]
mov ecx, dword [eax + 0x30]
dec edx
dec ecx
fst qword [esp + 0x50]
fadd qword [esp + 0x58]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fdivp st(1)
test eax, eax
fstp qword [esp + 0x58]
fild dword [esp + 0xa0]
fst qword [esp + 0x48]
fadd qword [esp + 0x30]
fild dword [esp + 0x10]
fdivp st(1)
fstp qword [esp + 0x30]
je 0x432c5f
mov eax, dword [esp + 0x78]
cmp eax, 3
ja case.default.0x4322b4
mov edx, eax
jmp dword [edx*4 + 0x432db4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0xc0]
push eax
push ecx
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
add ecx, edi
push eax
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x6c]
push edx
push eax
push ecx
push esi
jmp 0x4329c4
cmp eax, 8
jne 0x432350
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x43231a
mov eax, dword [esp + 0x88]
cmp eax, 2
jne 0x43233d
mov eax, 9
mov dword [esp + 0x14], eax
jmp 0x432367
cmp eax, 2
jne case.0x4323a9.4
mov eax, dword [esp + 0x88]
test eax, eax
jne case.0x4323a9.4
mov eax, 0xa
mov dword [esp + 0x14], eax
jmp 0x432375
test eax, eax
jne case.0x4323a9.4
mov eax, 0xc
mov dword [esp + 0x14], eax
jmp 0x432395
cmp eax, 5
je 0x432244
cmp eax, 6
je 0x432244
cmp eax, 9
jne 0x432370
test ecx, ecx
jne 0x43239d
jmp case.0x4323a9.4
cmp eax, 0xa
jne 0x43237e
test ecx, ecx
jne 0x43239d
jmp case.0x4323a9.4
cmp eax, 3
jne 0x43238c
test ecx, ecx
jne 0x43239d
jmp case.0x4323a9.4
cmp eax, 0xc
jne case.0x4323a9.4
test ecx, ecx
je case.0x4323a9.4
add eax, 0xfffffffd
cmp eax, 9
ja case.0x4323a9.4
jmp dword [eax*4 + 0x432dc4]
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x44]
sub eax, esi
faddp st(1)
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
fild dword [esp + 0x10]
sub eax, ebx
mov ecx, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x78], ecx
fmul qword [esp + 0x50]
mov dword [esp + 0x7c], 3
faddp st(1)
fdiv st(1)
fstp qword [esp + 0x58]
mov ecx, dword [eax + 4]
mov esi, dword [edi + 4]
mov eax, dword [eax]
sub ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [edi]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], 0x3ff00000
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
fmul qword [esp + 0x50]
faddp st(1)
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
jmp 0x4327e8
fld qword [esp + 0x68]
fmul qword [esp + 0x68]
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [edi]
mov eax, dword [esi]
sub ecx, eax
mov eax, dword [edi + 4]
faddp st(1)
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0x3ff00000
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
mov dword [esp + 0x14], 2
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
fmul qword [esp + 0x68]
faddp st(1)
fdiv st(1)
fstp qword [esp + 0x30]
mov ecx, dword [ebx]
mov edi, dword [esi]
mov eax, dword [ebx + 4]
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
fmul qword [esp + 0x68]
faddp st(1)
fdiv st(1)
fstp qword [esp + 0x60]
fstp st(0)
jmp 0x43282c
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x84]
sub eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
fild dword [esp + 0x10]
sub eax, ebx
mov ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], 0
fmul qword [esp + 0x50]
mov dword [esp + 0x3c], 0
faddp st(1)
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x58]
mov ecx, dword [edi]
mov ebx, dword [esi]
mov eax, dword [edi + 4]
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
jmp 0x4326fd
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x84]
sub eax, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
fild dword [esp + 0x10]
sub eax, edi
mov ecx, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], 0
fmul qword [esp + 0x50]
mov dword [esp + 0x3c], 0x3ff00000
faddp st(1)
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x58]
mov ecx, dword [ebx]
mov edi, dword [esi]
mov eax, dword [ebx + 4]
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
jmp 0x4327c6
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 0x3ff00000
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x78], 3
fmul qword [esp + 0x50]
faddp st(1)
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x58]
mov ecx, dword [edi]
mov ebx, dword [esi]
mov eax, dword [edi + 4]
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
fmul qword [esp + 0x68]
mov dword [esp + 0x7c], 0
faddp st(1)
fld qword [esp + 0x68]
fmul qword [esp + 0x68]
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x60]
jmp 0x4327e8
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 0x3ff00000
fmul qword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
mov dword [esp + 0x14], 2
mov dword [esp + 0x78], 3
fmul qword [esp + 0x50]
faddp st(1)
fld qword [esp + 0x70]
fmul qword [esp + 0x70]
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x58]
mov ecx, dword [ebx]
mov edi, dword [esi]
mov eax, dword [ebx + 4]
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fmul qword [esp + 0x48]
fild dword [esp + 0x10]
fmul qword [esp + 0x68]
mov dword [esp + 0x7c], edx
faddp st(1)
fld qword [esp + 0x68]
fmul qword [esp + 0x68]
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
faddp st(1)
fdivp st(1)
fstp qword [esp + 0x60]
fld qword [esp + 0x58]
fcomp qword [0x51be98]
fnstsw ax
test ah, 1
je 0x43280b
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jmp 0x43282c
fld qword [esp + 0x58]
fcomp qword [0x51cce8]
fnstsw ax
test ah, 0x41
jne 0x43282c
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3ff00000
fld qword [esp + 0x30]
fcomp qword [0x51be98]
fnstsw ax
test ah, 1
je 0x43284f
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x432870
fld qword [esp + 0x30]
fcomp qword [0x51cce8]
fnstsw ax
test ah, 0x41
jne 0x432870
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
fld qword [esp + 0x38]
fcomp qword [0x51be98]
fnstsw ax
test ah, 1
je 0x432893
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x4328b4
fld qword [esp + 0x38]
fcomp qword [0x51cce8]
fnstsw ax
test ah, 0x41
jne 0x4328b4
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
fld qword [esp + 0x60]
fcomp qword [0x51be98]
fnstsw ax
test ah, 1
je 0x4328d7
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jmp 0x4328f8
fld qword [esp + 0x60]
fcomp qword [0x51cce8]
fnstsw ax
test ah, 0x41
jne 0x4328f8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x3ff00000
fld qword [esp + 0x58]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x40
je 0x432254
fld qword [esp + 0x30]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 0x40
je 0x432254
mov dword [esp + 0x14], edx
jmp 0x432254
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x30]
lea esi, [eax*8]
push edx
add ecx, esi
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x6c]
push edx
push eax
push ecx
push edi
call fcn.00433320
mov edx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [edx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432a5c
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, esi
push eax
push eax
push ecx
push edx
jmp 0x432a54
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x8c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov edx, dword [esi + 0x34]
mov ecx, edi
lea eax, [esp + 0x30]
add ecx, edx
push eax
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x6c]
push edx
push eax
push esi
push ecx
call fcn.00433320
mov edx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [edx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432a5c
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, edi
push eax
push eax
push ecx
push edx
jmp 0x432a54
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
lea esi, [eax*8]
push ecx
mov ecx, dword [edi + 0x34]
mov edx, esi
add edx, ecx
lea eax, [esp + 0x40]
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edi
push edx
call fcn.00433320
mov ecx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [ecx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432a5c
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x24]
lea eax, [esi + edx]
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.00432f40
add esp, 0x10
inc dword [esp + 0x18]
cmp dword [esp + 0x14], 2
jne case.default.0x432ab2
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
fld qword [esp + 0x50]
mov eax, dword [edx + 0x30]
mov edx, dword [ecx + 0x30]
fadd qword [esp + 0x38]
dec eax
dec edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
cmp eax, 3
fdivp st(1)
fstp qword [esp + 0x38]
fld qword [esp + 0x48]
fadd qword [esp + 0x60]
fild dword [esp + 0x10]
fdivp st(1)
fstp qword [esp + 0x60]
ja case.default.0x432ab2
jmp dword [eax*4 + 0x432dec]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0xc0]
push ecx
push edx
mov edx, dword [esi + 0x34]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
add edx, edi
push ecx
lea eax, [esp + 0x70]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
push esi
call fcn.00433320
mov ecx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [ecx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432d68
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x24]
lea eax, [edx + edi]
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
jmp 0x432d60
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x30]
lea esi, [eax*8]
push edx
add ecx, esi
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x4c]
push edx
push eax
push ecx
push edi
call fcn.00433320
mov edx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [edx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432d68
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, esi
push eax
push eax
push ecx
push edx
jmp 0x432d60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x8c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov edx, dword [esi + 0x34]
mov ecx, edi
lea eax, [esp + 0x30]
add ecx, edx
push eax
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push edx
push eax
push esi
push ecx
call fcn.00433320
mov edx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [edx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432d68
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, edi
push eax
push eax
push ecx
push edx
jmp 0x432d60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
lea esi, [eax*8]
push ecx
mov ecx, dword [edi + 0x34]
mov edx, esi
add edx, ecx
lea eax, [esp + 0x70]
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edi
push edx
call fcn.00433320
mov ecx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [ecx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432d68
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x24]
lea eax, [esi + edx]
push eax
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
jmp 0x432d60
mov edx, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x34]
lea esi, [edx + 1]
lea edx, [esp + 0xe8]
mov ecx, dword [ebx + 0x34]
push edx
lea edx, [esp + 0xdc]
push edx
lea edx, [esp + 0xd8]
push edx
lea edx, [eax + esi*8]
push edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x3c]
push eax
lea eax, [edx*8]
mov edx, dword [esp + 0xa0]
add eax, ecx
add edx, ecx
push eax
push edx
call fcn.00430a50
add esp, 0x1c
test eax, eax
je case.default.0x432ab2
mov eax, dword [edi + 0x30]
mov ecx, dword [ebx + 0x30]
fild dword [esp + 0x28]
dec eax
dec ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x2c]
fadd qword [esp + 0xd8]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
fdivp st(1)
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0xf4]
push ecx
lea eax, [esp + 0xe0]
push edx
lea ecx, [esp + 0xec]
push eax
push ecx
push ebx
push edi
fstp qword [esp + 0xfc]
fild dword [esp + 0xc4]
fadd qword [esp + 0xf4]
fild dword [esp + 0x34]
fdivp st(1)
fstp qword [esp + 0xf4]
call fcn.00433320
mov edx, dword [ebp + 0x1c]
add esp, 0x24
test eax, eax
mov dword [edx], eax
je 0x432da8
cmp dword [ebp + 0x18], 1
jne 0x432d68
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xe8]
lea ecx, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00432f40
add esp, 0x10
inc dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x30]
dec ecx
cmp eax, ecx
jl 0x431f0a
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], ecx
mov edx, dword [edi + 0x30]
dec edx
cmp ecx, edx
jl 0x431cce
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret