Function at 0x44c040
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 0x44c059
add esp, 0x54
jmp 0x45b860
fld dword [esp + 0x78]
fcomp dword [0x48b634]
fnstsw ax
test ah, 5
jp 0x44c075
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 [0x49d24c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov bx, word [edx + eax*2]
mov edx, dword [0x49d250]
mov ax, word [edx + eax*2]
mov dword [esp + 0x38], esi
mov word [esp + 0x30], ax
call fcn.00446eb0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
call fcn.00446eb0
fild dword [esp + 0x34]
mov dword [esp + 0x18], eax
fld dword [0x48b5f4]
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 [0x48b5f0]
fsubr st(1)
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x30]
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fsubr dword [esp + 0x30]
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x30]
fmul dword [0x48b5e8]
call fcn.004670a8
fild dword [esp + 0x7c]
sub ebx, eax
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x88]
shl eax, 0x10
fld dword [0x48ace0]
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 [0x48b5f0]
call fcn.004670a8
fstp st(0)
fild dword [esp + 0x80]
mov esi, eax
fmul dword [esp + 0x88]
fld dword [0x48ace0]
fmul st(1)
fsubr st(1)
fmul dword [0x48b5f0]
call fcn.004670a8
fstp st(0)
cmp esi, eax
jge 0x44c2dd
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.004670a8
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 0x44c981
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jg 0x44c981
mov edx, ebp
test edx, edx
jl 0x44c981
mov ebx, dword [esp + 0x60]
test ebx, ebx
jl 0x44c981
test esi, esi
jge 0x44c378
xor esi, esi
mov edi, dword [esp + 0x54]
test edi, edi
jge 0x44c386
xor edi, edi
mov dword [esp + 0x54], edi
cmp ebx, ecx
jle 0x44c390
mov ebx, ecx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x5c], eax
jle 0x44c39a
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 0x44c80b
je 0x44c6a2
sub eax, 0x22b
je 0x44c552
sub eax, 0xa
jne 0x44c963
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.004424e0
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 0x44c963
mov ebx, dword [esp + 0x74]
jmp 0x44c460
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.004466b0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44c4ff
test esi, esi
jl 0x44c4df
cmp esi, dword [esp + 0x30]
jge 0x44c4df
test ebp, ebp
jl 0x44c4df
cmp ebp, dword [esp + 0x34]
jge 0x44c4df
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 0x44c4df
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x44c4df
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 0x44c496
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 0x44c460
jmp 0x44c963
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.004424e0
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 0x44c963
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.004466b0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44c64f
test esi, esi
jl 0x44c62f
cmp esi, dword [esp + 0x30]
jge 0x44c62f
test ebp, ebp
jl 0x44c62f
cmp ebp, dword [esp + 0x34]
jge 0x44c62f
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 0x44c62f
mov eax, dword [esp + 0x74]
cmp byte [edx + eax], 0xff
je 0x44c62f
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 0x44c5e6
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 0x44c5b0
jmp 0x44c963
mov ecx, dword [esp + 0x2c]
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov ebx, eax
mov dword [esp + 0x6c], ebx
call fcn.004424e0
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 0x44c963
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.004466b0
mov edi, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov ecx, edi
cmp ecx, eax
jge 0x44c7bb
nop
test esi, esi
jl 0x44c7a3
cmp esi, dword [esp + 0x30]
jge 0x44c7a3
test ebp, ebp
jl 0x44c7a3
cmp ebp, dword [esp + 0x34]
jge 0x44c7a3
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 0x44c788
cmp byte [ecx + 1], 0xff
jne 0x44c788
mov al, byte [ecx + 2]
test al, al
je 0x44c7a3
mov eax, dword [esp + 0x80]
cmp byte [eax + edi], 0xff
je 0x44c7a3
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 0x44c740
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 0x44c700
jmp 0x44c963
cmp eax, 0x22b8
jne 0x44c963
call fcn.004424e0
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.004424e0
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 0x44c963
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.004466b0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44c915
test esi, esi
jl 0x44c8f5
cmp esi, dword [esp + 0x30]
jge 0x44c8f5
test ebp, ebp
jl 0x44c8f5
cmp ebp, dword [esp + 0x34]
jge 0x44c8f5
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 0x44c8f5
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x44c8f5
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 0x44c8a7
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 0x44c871
mov ecx, dword [esp + 0x2c]
call fcn.00446f20
mov ecx, dword [esp + 0x70]
call fcn.00446f20
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 0x44c99b
call fcn.0045a3d0
jmp 0x44c9b4
cmp dword [ecx + 0x1ac], esi
jne 0x44c9b4
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 0x44c9d6
call fcn.0045a3d0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x28
cmp dword [ecx + 0x1ac], esi
jne 0x44c9ef
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 [0x48b634]
fnstsw ax
test ah, 5
jp 0x45b87f
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 [0x49d250]
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 [0x48b5f4]
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 [0x49d24c]
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 [0x48b5f0]
fsubr st(1)
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x18]
fmul dword [0x48b5ec]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fsubr dword [esp + 0x18]
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd st(1)
fmul dword [0x48b5e8]
call fcn.004670a8
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 [0x48b5f0]
fadd dword [esp + 0x18]
fmul dword [0x48b5e8]
call fcn.004670a8
fild dword [esp + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x78]
fmul dword [esp + 0x84]
shl eax, 0x10
fld dword [0x48ace0]
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 [0x48b5f0]
call fcn.004670a8
fstp st(0)
fild dword [esp + 0x7c]
mov esi, eax
fmul dword [esp + 0x84]
fld dword [0x48ace0]
fmul st(1)
fsubr st(1)
fmul dword [0x48b5f0]
call fcn.004670a8
fstp st(0)
cmp esi, eax
jge 0x45bae0
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.004670a8
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 0x45bce9
mov edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x45bce9
test edi, edi
jl 0x45bce9
test ebx, ebx
jl 0x45bce9
test ecx, ecx
jge 0x45bb72
xor ecx, ecx
mov esi, dword [esp + 0x50]
test esi, esi
jge 0x45bb82
mov dword [esp + 0x50], 0
cmp ebx, edx
jle 0x45bb8c
mov ebx, edx
mov dword [esp + 0x5c], ebx
cmp edi, eax
jle 0x45bb94
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 0x45bcdd
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 0x45bc1c
mov eax, dword [eax + edx*4]
mov dword [esp + 0x84], eax
jmp 0x45bc27
mov dword [esp + 0x84], 0
cmp edi, dword [esp + 0x58]
jge 0x45bcb1
test esi, esi
jl 0x45bc8d
cmp esi, dword [esp + 0x34]
jge 0x45bc8d
test ebp, ebp
jl 0x45bc8d
cmp ebp, dword [esp + 0x30]
jge 0x45bc8d
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 0x45bc72
cmp byte [eax + 1], 0xff
jne 0x45bc72
mov bl, byte [eax + 2]
test bl, bl
je 0x45bc8d
mov ebx, dword [esp + 0x84]
cmp byte [edi + ebx], 0xff
je 0x45bc8d
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 0x45bc31
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 0x45bbf5
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