Function at 0x44d4a0
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 0x44d4b9
add esp, 0x54
jmp 0x45e940
fld dword [esp + 0x78]
fcomp dword [0x49dec4]
fnstsw ax
test ah, 5
jp 0x44d4d5
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 [0x4b426c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov bx, word [edx + eax*2]
mov edx, dword [0x4b4270]
mov ax, word [edx + eax*2]
mov dword [esp + 0x38], esi
mov word [esp + 0x30], ax
call fcn.004475d0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x84], eax
call fcn.004475d0
fild dword [esp + 0x34]
mov dword [esp + 0x18], eax
fld dword [0x49de84]
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 [0x49de80]
fsubr st(1)
fmul dword [0x49de7c]
call fcn.004786f0
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 [0x49de80]
fadd dword [esp + 0x30]
fmul dword [0x49de7c]
call fcn.004786f0
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 [0x49de80]
fadd st(1)
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fsubr dword [esp + 0x30]
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fadd st(1)
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fadd dword [esp + 0x30]
fmul dword [0x49de78]
call fcn.004786f0
fild dword [esp + 0x7c]
sub ebx, eax
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x88]
shl eax, 0x10
fld dword [0x49d4ac]
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 [0x49de80]
call fcn.004786f0
fstp st(0)
fild dword [esp + 0x80]
mov esi, eax
fmul dword [esp + 0x88]
fld dword [0x49d4ac]
fmul st(1)
fsubr st(1)
fmul dword [0x49de80]
call fcn.004786f0
fstp st(0)
cmp esi, eax
jge 0x44d73d
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.004786f0
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 0x44dde1
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jg 0x44dde1
mov edx, ebp
test edx, edx
jl 0x44dde1
mov ebx, dword [esp + 0x60]
test ebx, ebx
jl 0x44dde1
test esi, esi
jge 0x44d7d8
xor esi, esi
mov edi, dword [esp + 0x54]
test edi, edi
jge 0x44d7e6
xor edi, edi
mov dword [esp + 0x54], edi
cmp ebx, ecx
jle 0x44d7f0
mov ebx, ecx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x5c], eax
jle 0x44d7fa
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 0x44dc6b
je 0x44db02
sub eax, 0x22b
je 0x44d9b2
sub eax, 0xa
jne 0x44ddc3
call fcn.00442b40
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00442b40
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 0x44ddc3
mov ebx, dword [esp + 0x74]
jmp 0x44d8c0
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.00446dd0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44d95f
test esi, esi
jl 0x44d93f
cmp esi, dword [esp + 0x30]
jge 0x44d93f
test ebp, ebp
jl 0x44d93f
cmp ebp, dword [esp + 0x34]
jge 0x44d93f
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 0x44d93f
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x44d93f
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 0x44d8f6
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 0x44d8c0
jmp 0x44ddc3
call fcn.00442b40
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00442b40
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 0x44ddc3
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.00446dd0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44daaf
test esi, esi
jl 0x44da8f
cmp esi, dword [esp + 0x30]
jge 0x44da8f
test ebp, ebp
jl 0x44da8f
cmp ebp, dword [esp + 0x34]
jge 0x44da8f
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 0x44da8f
mov eax, dword [esp + 0x74]
cmp byte [edx + eax], 0xff
je 0x44da8f
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 0x44da46
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 0x44da10
jmp 0x44ddc3
mov ecx, dword [esp + 0x2c]
call fcn.00442b40
mov ecx, dword [esp + 0x70]
mov ebx, eax
mov dword [esp + 0x6c], ebx
call fcn.00442b40
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 0x44ddc3
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.00446dd0
mov edi, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov ecx, edi
cmp ecx, eax
jge 0x44dc1b
nop
test esi, esi
jl 0x44dc03
cmp esi, dword [esp + 0x30]
jge 0x44dc03
test ebp, ebp
jl 0x44dc03
cmp ebp, dword [esp + 0x34]
jge 0x44dc03
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 0x44dbe8
cmp byte [ecx + 1], 0xff
jne 0x44dbe8
mov al, byte [ecx + 2]
test al, al
je 0x44dc03
mov eax, dword [esp + 0x80]
cmp byte [eax + edi], 0xff
je 0x44dc03
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 0x44dba0
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 0x44db60
jmp 0x44ddc3
cmp eax, 0x22b8
jne 0x44ddc3
call fcn.00442b40
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov dword [esp + 0x80], ebp
call fcn.00442b40
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 0x44ddc3
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.00446dd0
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x5c]
mov edx, edi
jge 0x44dd75
test esi, esi
jl 0x44dd55
cmp esi, dword [esp + 0x30]
jge 0x44dd55
test ebp, ebp
jl 0x44dd55
cmp ebp, dword [esp + 0x34]
jge 0x44dd55
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 0x44dd55
mov eax, dword [esp + 0x74]
cmp byte [eax + edx], 0xff
je 0x44dd55
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 0x44dd07
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 0x44dcd1
mov ecx, dword [esp + 0x2c]
call fcn.00447640
mov ecx, dword [esp + 0x70]
call fcn.00447640
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 0x44ddfb
call fcn.00444d90
jmp 0x44de14
cmp dword [ecx + 0x1ac], esi
jne 0x44de14
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 0x44de36
call fcn.00444d90
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x28
cmp dword [ecx + 0x1ac], esi
jne 0x44de4f
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 [0x49dec4]
fnstsw ax
test ah, 5
jp 0x45e95f
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 [0x4b4270]
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 [0x49de84]
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 [0x4b426c]
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 [0x49de80]
fsubr st(1)
fmul dword [0x49de7c]
call fcn.004786f0
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 [0x49de80]
fadd dword [esp + 0x18]
fmul dword [0x49de7c]
call fcn.004786f0
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 [0x49de80]
fadd st(1)
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fsubr dword [esp + 0x18]
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fadd st(1)
fmul dword [0x49de78]
call fcn.004786f0
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 [0x49de80]
fadd dword [esp + 0x18]
fmul dword [0x49de78]
call fcn.004786f0
fild dword [esp + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x78]
fmul dword [esp + 0x84]
shl eax, 0x10
fld dword [0x49d4ac]
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 [0x49de80]
call fcn.004786f0
fstp st(0)
fild dword [esp + 0x7c]
mov esi, eax
fmul dword [esp + 0x84]
fld dword [0x49d4ac]
fmul st(1)
fsubr st(1)
fmul dword [0x49de80]
call fcn.004786f0
fstp st(0)
cmp esi, eax
jge 0x45ebc0
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.004786f0
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 0x45edc9
mov edx, dword [esp + 0x44]
cmp ecx, edx
jg 0x45edc9
test edi, edi
jl 0x45edc9
test ebx, ebx
jl 0x45edc9
test ecx, ecx
jge 0x45ec52
xor ecx, ecx
mov esi, dword [esp + 0x50]
test esi, esi
jge 0x45ec62
mov dword [esp + 0x50], 0
cmp ebx, edx
jle 0x45ec6c
mov ebx, edx
mov dword [esp + 0x5c], ebx
cmp edi, eax
jle 0x45ec74
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 0x45edbd
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 0x45ecfc
mov eax, dword [eax + edx*4]
mov dword [esp + 0x84], eax
jmp 0x45ed07
mov dword [esp + 0x84], 0
cmp edi, dword [esp + 0x58]
jge 0x45ed91
test esi, esi
jl 0x45ed6d
cmp esi, dword [esp + 0x34]
jge 0x45ed6d
test ebp, ebp
jl 0x45ed6d
cmp ebp, dword [esp + 0x30]
jge 0x45ed6d
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 0x45ed52
cmp byte [eax + 1], 0xff
jne 0x45ed52
mov bl, byte [eax + 2]
test bl, bl
je 0x45ed6d
mov ebx, dword [esp + 0x84]
cmp byte [edi + ebx], 0xff
je 0x45ed6d
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 0x45ed11
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 0x45ecd5
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