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

Disassembly:
sub esp, 0x54
mov eax, dword [ecx + 0x228]
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x450759
add esp, 0x54
jmp 0x461cb0
fld dword [esp + 0x78]
fcomp dword [0x4a1174]
fnstsw ax
test ah, 5
jp 0x450775
mov eax, 1
add esp, 0x54
ret 0x28
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c0]
mov edx, dword [ecx + 0x1bc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], edx
cdq
sub eax, edx
push ebx
sar eax, 1
push ebp
mov dword [esp + 0x3c], eax
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x80]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
mov dword [esp + 0x34], edi
add edi, edx
mov edx, dword [esp + 0x6c]
lea esi, [eax + edx]
mov edx, dword [0x4b8270]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov bx, word [edx + eax*2]
mov edx, dword [0x4b8274]
mov ax, word [edx + eax*2]
mov dword [esp + 0x38], esi
mov word [esp + 0x30], ax
call fcn.0044a870
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
call fcn.0044a870
fild dword [esp + 0x34]
mov dword [esp + 0x18], eax
fld dword [0x4a1134]
movsx eax, word [esp + 0x30]
fdiv dword [esp + 0x88]
movsx ebp, bx
mov dword [esp + 0x34], eax
mov ebx, ebp
imul eax, edi
imul ebx, esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
add eax, ebx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fsubr st(1)
fmul dword [0x4a112c]
call fcn.0047ba80
fild dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, ebp
imul eax, esi
fstp dword [esp + 0x30]
imul ecx, edi
mov dword [esp + 0x40], ecx
sub ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd dword [esp + 0x30]
fmul dword [0x4a112c]
call fcn.0047ba80
mov esi, 1
sub esi, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
neg edi
mov ecx, esi
imul ecx, dword [esp + 0x34]
sub ecx, ebx
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, ebp
mov ebx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
add esi, dword [esp + 0x24]
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
neg ebx
fild dword [esp + 0x28]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fsubr dword [esp + 0x30]
fmul dword [0x4a1128]
call fcn.0047ba80
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x38]
mov esi, 1
sub esi, eax
mov edx, esi
imul edx, ebp
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, dword [esp + 0x34]
fstp st(0)
add esi, dword [esp + 0x40]
mov dword [esp + 0x40], esi
sub edi, eax
mov dword [esp + 0x28], edi
fild dword [esp + 0x40]
fmul dword [esp + 0x1c]
fmul dword [0x4a1130]
fadd dword [esp + 0x30]
fmul dword [0x4a1128]
call fcn.0047ba80
fild dword [esp + 0x7c]
sub ebx, eax
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x88]
shl eax, 0x10
fld dword [0x4a0578]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
fmul st(1)
shl eax, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
fild dword [esp + 0x80]
mov esi, eax
fmul dword [esp + 0x88]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
cmp esi, eax
jge 0x4509dd
mov esi, eax
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x68]
lea ecx, [ebx + esi]
add ecx, edx
sub ecx, ebx
sub ecx, edx
lea eax, [esi + ebp]
add eax, edi
mov edx, ecx
sub eax, ebp
imul edx, ecx
sub eax, edi
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x88], edx
fild dword [esp + 0x88]
fsqrt
call fcn.0047ba80
mov edx, dword [esp + 0x6c]
mov ecx, ebp
sub ecx, eax
add ebp, eax
mov esi, ebx
sub esi, eax
add eax, ebx
add eax, edx
add ecx, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
add ebp, edi
add esi, edx
cmp ecx, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ebp
jg 0x451081
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jg 0x451081
mov edx, ebp
test edx, edx
jl 0x451081
mov ebx, dword [esp + 0x60]
test ebx, ebx
jl 0x451081
test esi, esi
jge 0x450a78
xor esi, esi
mov edi, dword [esp + 0x54]
test edi, edi
jge 0x450a86
xor edi, edi
mov dword [esp + 0x54], edi
cmp ebx, ecx
jle 0x450a90
mov ebx, ecx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x5c], eax
jle 0x450a9a
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, edi
imul eax, dword [esp + 0x20]
mov edx, esi
imul edx, dword [esp + 0x28]
add eax, ecx
add eax, edx
mov edx, edi
imul edx, dword [esp + 0x24]
mov ecx, esi
imul ecx, dword [esp + 0x1c]
add edx, ebp
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x228]
cmp eax, 0x378
mov dword [esp + 0x14], edx
ja 0x450f0b
je 0x450da2
sub eax, 0x22b
je 0x450c52
sub eax, 0xa
jne 0x451063
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00445d70
imul ebp, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
add eax, ebp
add edx, ecx
cmp esi, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x88], esi
jge 0x451063
mov ebx, dword [esp + 0x74]
jmp 0x450b60
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea ecx, [eax + edi*2]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.0044a160
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x450bff
test esi, esi
jl 0x450bdf
cmp esi, dword [esp + 0x30]
jge 0x450bdf
test ebp, ebp
jl 0x450bdf
cmp ebp, dword [esp + 0x34]
jge 0x450bdf
mov eax, ebp
sar eax, 0x10
imul eax, dword [esp + 0x7c]
mov ecx, esi
sar ecx, 0x10
add eax, ebx
add ecx, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
mov cx, word [ecx]
cmp cx, 0x7e0
je 0x450bdf
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x450bdf
mov eax, dword [esp + 0x78]
mov word [eax], cx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x5c]
inc edx
add ebp, ecx
cmp edx, eax
jl 0x450b96
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
add ebp, ecx
mov ecx, dword [esp + 0x80]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
jl 0x450b60
jmp 0x451063
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00445d70
imul ebp, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
add eax, ebp
add edx, ecx
cmp esi, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x88], esi
jge 0x451063
mov ebx, dword [esp + 0x74]
lea esp, [esp]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea eax, [edx + edi*2]
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
call fcn.0044a160
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x450d4f
test esi, esi
jl 0x450d2f
cmp esi, dword [esp + 0x30]
jge 0x450d2f
test ebp, ebp
jl 0x450d2f
cmp ebp, dword [esp + 0x34]
jge 0x450d2f
mov eax, ebp
sar eax, 0x10
imul eax, dword [esp + 0x7c]
mov ecx, esi
sar ecx, 0x10
add eax, ebx
add ecx, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + ecx*2]
mov cx, word [ecx]
cmp cx, 0x3e0
je 0x450d2f
mov eax, dword [esp + 0x74]
cmp byte [edx + eax], 0xff
je 0x450d2f
mov eax, dword [esp + 0x78]
mov word [eax], cx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x5c]
inc edx
add ebp, ecx
cmp edx, eax
jl 0x450ce6
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
add ebp, ecx
mov ecx, dword [esp + 0x80]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
jl 0x450cb0
jmp 0x451063
mov ecx, dword [esp + 0x2c]
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov ebx, eax
mov dword [esp + 0x6c], ebx
call fcn.00445d70
imul ebx, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
imul eax, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x60]
add edx, ebx
cmp esi, eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x88], esi
jge 0x451063
lea edx, [edi + edi*2]
mov dword [esp + 0x78], edx
lea ebx, [ebx]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea ebx, [eax + ecx]
mov ecx, dword [esp + 0x8c]
push edx
call fcn.0044a160
mov edi, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov ecx, edi
cmp ecx, eax
jge 0x450ebb
nop
test esi, esi
jl 0x450ea3
cmp esi, dword [esp + 0x30]
jge 0x450ea3
test ebp, ebp
jl 0x450ea3
cmp ebp, dword [esp + 0x34]
jge 0x450ea3
mov ecx, dword [esp + 0x74]
mov edx, esi
sar edx, 0x10
add edx, ecx
mov ecx, dword [esp + 0x18]
lea eax, [edx + ecx]
mov ecx, ebp
sar ecx, 0x10
imul ecx, dword [esp + 0x7c]
lea edx, [eax + edx*2]
add ecx, edx
mov dl, byte [ecx]
test dl, dl
jne 0x450e88
cmp byte [ecx + 1], 0xff
jne 0x450e88
mov al, byte [ecx + 2]
test al, al
je 0x450ea3
mov eax, dword [esp + 0x80]
cmp byte [eax + edi], 0xff
je 0x450ea3
mov byte [ebx], dl
mov dl, byte [ecx + 1]
mov byte [ebx + 1], dl
mov al, byte [ecx + 2]
mov byte [ebx + 2], al
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
inc edi
add ebx, 3
add esi, edx
add ebp, ecx
cmp edi, eax
jl 0x450e40
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
add edi, ecx
mov ecx, dword [esp + 0x6c]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
jl 0x450e00
jmp 0x451063
cmp eax, 0x22b8
jne 0x451063
call fcn.00445d70
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00445d70
imul ebp, esi
mov ecx, eax
imul ecx, dword [esp + 0x78]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 2
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
add eax, ebp
add edx, ecx
cmp esi, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x88], esi
jge 0x451063
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
lea eax, [edx + edi*4]
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x7c], eax
call fcn.0044a160
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x451015
test esi, esi
jl 0x450ff5
cmp esi, dword [esp + 0x30]
jge 0x450ff5
test ebp, ebp
jl 0x450ff5
cmp ebp, dword [esp + 0x34]
jge 0x450ff5
mov eax, ebp
sar eax, 0x10
imul eax, dword [esp + 0x7c]
add eax, ebx
mov ecx, esi
sar ecx, 0x10
add ecx, eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + ecx*4]
mov ecx, dword [ecx]
mov eax, ecx
and eax, 0xffffff
cmp eax, 0xff00
je 0x450ff5
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x450ff5
mov eax, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x5c]
inc edx
add ebp, ecx
cmp edx, eax
jl 0x450fa7
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
add ebp, ecx
mov ecx, dword [esp + 0x80]
add esi, edx
mov edx, dword [esp + 0x84]
add edx, ecx
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x84], edx
jl 0x450f71
mov ecx, dword [esp + 0x2c]
call fcn.0044a8e0
mov ecx, dword [esp + 0x70]
call fcn.0044a8e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x28
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x228]
test eax, eax
mov esi, 0x4000
jne 0x45109b
call fcn.00447fb0
jmp 0x4510b4
cmp dword [ecx + 0x1ac], esi
jne 0x4510b4
mov eax, dword [ecx + 0x18c]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x80]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 0x228]
test eax, eax
jne 0x4510d6
call fcn.00447fb0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x28
cmp dword [ecx + 0x1ac], esi
jne 0x4510ef
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x28
fld dword [esp + 0x24]
sub esp, 0x50
fcomp dword [0x4a1174]
fnstsw ax
test ah, 5
jp 0x461ccf
mov eax, 1
add esp, 0x50
ret 0x28
mov eax, dword [ecx + 0x78]
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], edx
cdq
sub eax, edx
sar eax, 1
push ebx
mov ebx, dword [0x4b8274]
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edi
cdq
fild dword [esp + 0x24]
sub eax, edx
fld dword [0x4a1134]
mov edx, dword [esp + 0x64]
fdiv dword [esp + 0x84]
mov ecx, dword [ecx + 0x34]
sar eax, 1
add edi, edx
mov edx, dword [esp + 0x68]
lea esi, [eax + edx]
mov edx, dword [0x4b8270]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dx, word [edx + eax*2]
mov ax, word [ebx + eax*2]
movsx eax, ax
movsx ebp, dx
mov dword [esp + 0x14], eax
mov ebx, ebp
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], ecx
imul eax, edi
imul ebx, esi
fstp dword [esp + 0x80]
mov dword [esp + 0x30], eax
add eax, ebx
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fsubr st(1)
fmul dword [0x4a112c]
call fcn.0047ba80
fild dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
imul eax, esi
fstp dword [esp + 0x18]
imul ecx, edi
mov dword [esp + 0x34], ecx
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x24]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd dword [esp + 0x18]
fmul dword [0x4a112c]
call fcn.0047ba80
mov esi, 1
sub esi, edi
mov edi, dword [esp + 0x6c]
mov edx, esi
neg edi
imul edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
sub edx, ebx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, ebp
mov ebx, dword [esp + 0x10]
mov ecx, edi
sub ecx, eax
add esi, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ecx
neg ebx
fild dword [esp + 0x28]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fsubr dword [esp + 0x18]
fmul dword [0x4a1128]
call fcn.0047ba80
mov edx, dword [esp + 0x30]
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x2c]
mov esi, 1
sub esi, eax
mov eax, esi
imul eax, ebp
sub eax, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x30]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd st(1)
fmul dword [0x4a1128]
call fcn.0047ba80
imul esi, dword [esp + 0x14]
fstp st(0)
add esi, dword [esp + 0x34]
mov dword [esp + 0x34], esi
sub edi, eax
mov dword [esp + 0x24], edi
fild dword [esp + 0x34]
fmul dword [esp + 0x80]
fmul dword [0x4a1130]
fadd dword [esp + 0x18]
fmul dword [0x4a1128]
call fcn.0047ba80
fild dword [esp + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x78]
fmul dword [esp + 0x84]
shl eax, 0x10
fld dword [0x4a0578]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
fmul st(1)
shl eax, 0x10
mov dword [esp + 0x80], ebx
mov dword [esp + 0x30], eax
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
fild dword [esp + 0x7c]
mov esi, eax
fmul dword [esp + 0x84]
fld dword [0x4a0578]
fmul st(1)
fsubr st(1)
fmul dword [0x4a1130]
call fcn.0047ba80
fstp st(0)
cmp esi, eax
jge 0x461f30
mov esi, eax
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
lea eax, [edi + esi]
lea ecx, [esi + ebp]
mov esi, dword [esp + 0x68]
add ecx, esi
sub ecx, ebp
sub ecx, esi
add eax, ebx
mov edx, ecx
sub eax, edi
imul edx, ecx
sub eax, ebx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x84], edx
fild dword [esp + 0x84]
fsqrt
call fcn.0047ba80
mov edx, edi
sub edx, eax
add edi, eax
add edx, ebx
add edi, ebx
mov ecx, ebp
sub ecx, eax
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x40]
add ebx, esi
add ecx, esi
cmp edx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
jg 0x462139
mov edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x462139
test edi, edi
jl 0x462139
test ebx, ebx
jl 0x462139
test ecx, ecx
jge 0x461fc2
xor ecx, ecx
mov esi, dword [esp + 0x50]
test esi, esi
jge 0x461fd2
mov dword [esp + 0x50], 0
cmp ebx, edx
jle 0x461fdc
mov ebx, edx
mov dword [esp + 0x5c], ebx
cmp edi, eax
jle 0x461fe4
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x10]
mov eax, edi
imul eax, dword [esp + 0x1c]
mov edx, ecx
imul edx, dword [esp + 0x24]
add eax, esi
lea esi, [eax + edx]
mov eax, edi
imul eax, dword [esp + 0x20]
mov edx, ecx
imul edx, dword [esp + 0x80]
add eax, ebp
cmp ecx, ebx
lea ebp, [eax + edx]
mov edx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x78], edx
jge 0x46212d
mov eax, dword [esp + 0x74]
lea ecx, [edi + edi*2]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x48]
lea eax, [ecx + eax*4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [ecx + edx*4]
add ecx, eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 8]
test eax, eax
je 0x46206c
mov eax, dword [eax + edx*4]
mov dword [esp + 0x84], eax
jmp 0x462077
mov dword [esp + 0x84], 0
cmp edi, dword [esp + 0x58]
jge 0x462101
test esi, esi
jl 0x4620dd
cmp esi, dword [esp + 0x34]
jge 0x4620dd
test ebp, ebp
jl 0x4620dd
cmp ebp, dword [esp + 0x30]
jge 0x4620dd
mov ebx, dword [esp + 0x70]
mov eax, esi
sar eax, 0x10
add eax, ebx
mov ebx, dword [esp + 0x64]
mov edx, ebp
sar edx, 0x10
lea eax, [eax + eax*2]
add eax, dword [ebx + edx*4]
mov dl, byte [eax]
test dl, dl
jne 0x4620c2
cmp byte [eax + 1], 0xff
jne 0x4620c2
mov bl, byte [eax + 2]
test bl, bl
je 0x4620dd
mov ebx, dword [esp + 0x84]
cmp byte [edi + ebx], 0xff
je 0x4620dd
mov byte [ecx], dl
mov dl, byte [eax + 1]
mov byte [ecx + 1], dl
mov al, byte [eax + 2]
mov byte [ecx + 2], al
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
inc edi
add ecx, 3
add esi, ebx
add ebp, edx
cmp edi, eax
jl 0x462081
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x80]
add esi, ebp
mov ebp, dword [esp + 0x10]
inc edx
add ebp, ecx
cmp edx, ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x10], ebp
jl 0x462045
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x28
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x50
ret 0x28