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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x3840
mov dword [eax], ebx
mov dword [esp + 0x18], 1
call fcn.00586401
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], edi
cmp edi, ebx
mov dword [esp + 0xf0], ebx
je 0x44d1f8
mov ebx, edi
mov dword [esp + 0x38], 0x4b0
mov ecx, ebx
call fcn.00479c40
mov eax, dword [esp + 0x38]
add ebx, 0xc
dec eax
mov dword [esp + 0x38], eax
jne 0x44d1dd
mov dword [esp + 0x48], edi
jmp 0x44d1fc
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0xc0]
mov dword [esp + 0xf0], 0xffffffff
push ecx
mov ecx, esi
call fcn.0044bec0
movsx edx, word [esi + 0x3c]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
movsx eax, word [esi + 0x3e]
fdivr dword [esi + 0x18]
mov dword [esp + 0x20], eax
movsx ecx, word [esi + 0x40]
fstp dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xa8]
fdivr dword [esi + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x20]
fdivr dword [esi + 0x20]
fstp dword [esp + 0x2c]
call fcn.004259a0
mov dword [esp + 0xa8], 0x5cb2a4
xor eax, eax
mov dword [esp + 0xf0], 1
cmp word [esi + 0x48], ax
jle 0x44d28e
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
inc eax
movsx edx, word [esi + 0x48]
add ecx, 4
cmp eax, edx
jl 0x44d27c
mov eax, dword [ebp + 0xc]
xor edx, edx
movsx ebx, word [eax + 0x28]
dec ebx
test ebx, ebx
jl 0x44d2b7
mov eax, dword [eax + 0x2c]
lea ecx, [ebx + ebx*2]
lea edi, [ebx + 1]
lea eax, [eax + ecx*4 + 8]
mov ecx, dword [eax]
sub eax, 0xc
movsx ecx, word [ecx + 0xc]
add edx, ecx
dec edi
jne 0x44d2a9
movsx ecx, word [esi + 0x48]
imul ecx, edx
mov eax, 0x51eb851f
mov dword [esp + 0x5c], ecx
imul ecx
sar edx, 5
mov eax, edx
mov dword [esp + 0x60], 0
shr eax, 0x1f
add edx, eax
cmp edx, 0x64
mov dword [esp + 0x58], edx
jle 0x44d2ee
mov dword [esp + 0x58], 0x64
jmp 0x44d2fb
cmp edx, 2
jge 0x44d2fb
mov dword [esp + 0x58], 2
mov edi, ebx
test edi, edi
mov dword [esp + 0x7c], edi
jl 0x44d9a7
mov ebx, dword [esp + 0x5c]
lea ecx, [edi + edi*2]
shl ecx, 2
mov dword [esp + 0x38], ecx
jmp 0x44d31d
mov ecx, dword [esp + 0x38]
cmp word [esp + 0x14], 0
je 0x44d9a7
mov eax, dword [ebp + 0xc]
push edi
mov edx, dword [eax + 0x2c]
mov ecx, dword [edx + ecx + 8]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 0x28]
mov dword [esp + 0x24], edx
call fcn.00426200
test ax, ax
je 0x44d35f
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 0x28]
call fcn.004261d0
fmul dword [ebp + 0x14]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
movsx eax, word [ecx + 0xc]
dec eax
mov dword [esp + 0x40], eax
js 0x44d98f
cmp word [esp + 0x14], 0
je 0x44d98f
movsx edi, word [esi + 0x48]
dec edi
mov dword [esp + 0x44], 5
mov dword [esp + 0x74], edi
js 0x44d97c
mov edx, dword [ebp + 8]
lea eax, [edx + edi*4]
mov dword [esp + 0x68], eax
jmp 0x44d3a5
mov edi, dword [esp + 0x74]
cmp word [esp + 0x14], 0
je 0x44d97c
lea ecx, [esp + 0x8c]
call fcn.00479c40
mov eax, dword [esp + 0x44]
mov edx, dword [esp + eax*4 + 0xc0]
sub edi, edx
cmp eax, 5
ja case.default.0x44d3d3
jmp dword [eax*4 + 0x44d9f4]
push 0x3f800000
push 0
push 0
lea ecx, [esp + 0x98]
call fcn.0041e310
movsx ecx, word [esi + 0x3c]
fld dword [esi + 0x28]
mov eax, edi
mov dword [esp + 0x30], 0
cdq
idiv ecx
mov eax, edi
mov ebx, 1
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x4c]
fstp st(0)
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
movsx eax, word [esi + 0x42]
fmul dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
movsx eax, word [esi + 0x44]
fadd dword [esi + 0x2c]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x50]
fld dword [esi + 0x30]
fstp dword [esp + 0x88]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fdivr dword [esp + 0x24]
fstp dword [esp + 0x34]
fild dword [esp + 0xc]
fdivr dword [esp + 0x1c]
jmp 0x44d6c8
push 0xbf800000
push 0
push 0
lea ecx, [esp + 0x98]
call fcn.0041e310
movsx ecx, word [esi + 0x3c]
fld dword [esi + 0x28]
mov eax, edi
mov dword [esp + 0x30], 0
cdq
idiv ecx
mov eax, edi
mov ebx, 1
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x4c]
fstp st(0)
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
movsx eax, word [esi + 0x42]
fmul dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
movsx eax, word [esi + 0x44]
fadd dword [esi + 0x2c]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x50]
fld dword [esi + 0x30]
fadd dword [esi + 0x20]
fstp dword [esp + 0x88]
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fdivr dword [esp + 0x24]
fstp dword [esp + 0x34]
fild dword [esp + 0xc]
fdivr dword [esp + 0x1c]
jmp 0x44d6c8
push 0
push 0
push 0x3f800000
lea ecx, [esp + 0x98]
call fcn.0041e310
mov ecx, dword [esi + 0x28]
mov eax, edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x30], 1
movsx ecx, word [esi + 0x3e]
cdq
idiv ecx
mov eax, edi
mov ebx, 2
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x1c]
fadd dword [esi + 0x2c]
fstp dword [esp + 0x50]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x44d5b6
push 0
push 0
push 0xbf800000
lea ecx, [esp + 0x98]
call fcn.0041e310
movsx ecx, word [esi + 0x3e]
fld dword [esi + 0x28]
fadd dword [esi + 0x18]
mov eax, edi
mov dword [esp + 0x30], 1
cdq
idiv ecx
fstp dword [esp + 0x80]
mov eax, edi
mov ebx, 2
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x1c]
fadd dword [esi + 0x2c]
fstp dword [esp + 0x50]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [esp + 0x2c]
movsx eax, word [esi + 0x44]
fadd dword [esi + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
fstp dword [esp + 0x54]
fild dword [esp + 0xc]
fdivr dword [esp + 0x1c]
jmp 0x44d6b0
push 0
push 0x3f800000
push 0
lea ecx, [esp + 0x98]
call fcn.0041e310
movsx ecx, word [esi + 0x3c]
fld dword [esi + 0x28]
mov eax, edi
mov dword [esp + 0x30], 0
cdq
idiv ecx
mov eax, edi
mov ebx, 2
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esi + 0x2c]
fstp dword [esp + 0x84]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x44d691
push 0
push 0xbf800000
push 0
lea ecx, [esp + 0x98]
call fcn.0041e310
movsx ecx, word [esi + 0x3c]
fld dword [esi + 0x28]
mov eax, edi
mov dword [esp + 0x30], 0
cdq
idiv ecx
mov eax, edi
mov ebx, 2
mov dword [esp + 0x10], edx
cdq
fild dword [esp + 0x10]
idiv ecx
fmul dword [esp + 0x24]
fadd st(1)
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esi + 0x2c]
fadd dword [esi + 0x1c]
fstp dword [esp + 0x84]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [esp + 0x2c]
movsx eax, word [esi + 0x42]
fadd dword [esi + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
fstp dword [esp + 0x54]
fild dword [esp + 0xc]
fdivr dword [esp + 0x24]
movsx eax, word [esi + 0x46]
fstp dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
fild dword [esp + 0xc]
fdivr dword [esp + 0x2c]
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x8c]
lea eax, [esp + 0xdc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x70]
call fcn.004293f0
mov ecx, eax
call fcn.0043e0c0
mov edx, dword [eax]
mov dword [esp + 0x9c], edx
fld dword [esp + 0x9c]
fcomp dword [0x5cb3b0]
mov ecx, dword [eax + 4]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 8]
fnstsw ax
mov dword [esp + 0xa4], edx
test ah, 1
jne 0x44d766
fld dword [esp + 0x9c]
fcomp dword [0x5c9afc]
fnstsw ax
test ah, 0x41
je 0x44d766
fld dword [esp + 0xa0]
fcomp dword [0x5cb3b0]
fnstsw ax
test ah, 1
jne 0x44d766
fld dword [esp + 0xa0]
fcomp dword [0x5c9afc]
mov dword [esp + 0x10], 1
fnstsw ax
test ah, 0x41
jne 0x44d76e
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], 0
test eax, eax
jle 0x44d908
mov ecx, dword [esp + 0x18]
cmp word [esp + 0x14], 0
je 0x44d908
fild dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], 0
test ecx, ecx
fadd dword [0x5cb160]
fmul dword [esp + 0x34]
fadd dword [esp + eax*4 + 0x4c]
fstp dword [esp + eax*4 + 0x80]
jle 0x44d8f3
cmp word [esp + 0x14], 0
je 0x44d8f3
fild dword [esp + 0x78]
sub esp, 8
lea ecx, [esp + 0xbc]
sub esp, 8
fadd dword [0x5cb160]
sub esp, 8
fmul dword [esp + 0x24]
fadd dword [esp + ebx*4 + 0x64]
fstp dword [esp + ebx*4 + 0x98]
fld dword [esp + 0xa0]
fstp qword [esp + 0x10]
fld dword [esp + 0x9c]
fstp qword [esp + 8]
fld dword [esp + 0x98]
fstp qword [esp]
call fcn.0041e260
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
push eax
push ecx
lea eax, [esp + 0xa0]
push edx
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push 1
lea eax, [esp + 0xcc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00429430
test ax, ax
mov dword [esp + 0x14], eax
je 0x44d8de
mov eax, dword [esp + 0x98]
xor edi, edi
test eax, eax
mov dword [esp + 0x70], 0
jle 0x44d8bd
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x8c]
push eax
call fcn.0041e6f0
fcom dword [0x5cad98]
fnstsw ax
test ah, 1
je 0x44d8a4
fld dword [esp + 0x70]
fsub st(1)
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x98]
inc edi
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0x3c], ecx
fstp st(0)
jl 0x44d87c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
imul ecx, dword [esp + 0x28]
fld dword [esp + 0x70]
fmul dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
fidiv dword [esp + 0x3c]
fadd dword [eax]
fstp dword [eax]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x44d7bf
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
inc eax
cmp eax, edx
mov dword [esp + 0x6c], eax
jl 0x44d786
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x74]
cmp edi, dword [esp + edx*4 + 0xc0]
jne 0x44d920
mov eax, edx
dec eax
mov dword [esp + 0x44], eax
cmp word [esp + 0x14], 0
je 0x44d964
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x44d964
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cdq
idiv dword [esp + 0x58]
test edx, edx
jne 0x44d964
fild dword [esp + 0x60]
push ecx
fidiv dword [esp + 0x60]
fstp dword [esp]
call ecx
add esp, 4
mov dword [esp + 0x14], eax
test ax, ax
jne 0x44d964
mov eax, dword [ebp + 0x1c]
mov dword [eax], 3
mov ecx, dword [esp + 0x68]
dec edi
sub ecx, 4
mov dword [esp + 0x74], edi
test edi, edi
mov dword [esp + 0x68], ecx
jge 0x44d3a1
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
dec eax
mov dword [esp + 0x40], eax
jns 0x44d372
mov ecx, dword [esp + 0x38]
dec edi
sub ecx, 0xc
mov dword [esp + 0x7c], edi
test edi, edi
mov dword [esp + 0x38], ecx
jge 0x44d319
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0058642a
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0xa8], 0x5cb2a4
call fcn.00425a10
mov ecx, dword [esp + 0xe8]
mov ax, word [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18