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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x70]
cmp ebx, 0xffffffff
push ebp
mov ebp, dword [esp + 0x6c]
je 0x44ee2e
mov eax, dword [0x746eb8]
mov edx, dword [eax + 0x40]
lea ecx, [ebx + ebx*2]
push esi
lea esi, [edx + ecx*4]
mov cl, byte [esp + 0x7c]
test cl, cl
push edi
mov dword [esp + 0x20], esi
je 0x44e8e0
mov ecx, dword [esp + 0x90]
mov dx, word [ecx]
mov ecx, dword [esp + 0x98]
mov word [esp + 0x14], dx
mov dx, word [ecx]
mov word [esp + 0x24], dx
mov edx, dword [esi]
push eax
lea eax, [esp + 0x64]
call fcn.0044dc30
add esp, 4
lea eax, [ebp + 0x44]
lea ecx, [esp + 0x60]
call fcn.004cd620
fstp dword [esp + 0x18]
mov al, byte [esp + 0x80]
test al, al
je 0x44ea6b
movsx eax, word [esp + 0x88]
shl eax, 4
mov dword [esp + 0x1c], eax
fld dword [eax + 0x657448]
fmul dword [0x672c70]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x44ea6b
mov esi, dword [esi + 4]
jmp 0x44e941
mov ebx, dword [esp + 0x7c]
mov eax, dword [0x746eb8]
mov edx, dword [eax + 0x4c]
lea ecx, [esi + esi*2]
mov edi, dword [edx + ecx*8 + 0x14]
lea esi, [edx + ecx*8]
mov edx, dword [eax + 0x58]
cmp edi, ebx
sete bl
xor ecx, ecx
test bl, bl
sete cl
mov edi, ecx
mov ecx, dword [esi + edi*4]
shl ecx, 4
add ecx, edx
cmp word [esp + 0x14], 0x400
jge 0x44ea0d
movzx eax, bl
mov eax, dword [esi + eax*4]
shl eax, 4
add eax, edx
mov edx, dword [esp + 0x1c]
push ecx
fld dword [eax]
fsub dword [ecx]
fstp dword [esp + 0x40]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x44]
fld dword [eax + 8]
lea eax, [ebp + 0x28]
fsub dword [ecx + 8]
fstp dword [esp + 0x48]
fld dword [esp + 0x88]
fmul dword [edx + 0x657450]
lea edx, [esp + 0x40]
fstp dword [esp]
call fcn.004ce700
add esp, 4
test al, al
je 0x44ea0d
mov eax, dword [esi + edi*4 + 0x10]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x44ea0d
mov edx, dword [esp + 0x14]
cmp cx, dx
jge 0x44e9f6
mov edi, dword [esp + 0x8c]
movsx edx, cx
cmp dword [edi + edx*4], eax
jne 0x44e9ee
or eax, 0xffffffff
inc ecx
cmp eax, 0xffffffff
jne 0x44e9d3
jmp 0x44ea0d
cmp eax, 0xffffffff
je 0x44ea0d
mov edi, dword [esp + 0x8c]
movsx ecx, dx
inc edx
mov dword [edi + ecx*4], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
movzx edx, bl
mov esi, dword [esi + edx*4 + 8]
cmp esi, ecx
jne 0x44e93d
mov ecx, dword [esp + 0x1c]
fld dword [ecx + 0x65744c]
fmul dword [0x672c70]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x44ee03
mov eax, dword [esp + 0x24]
cmp ax, 0x400
jge 0x44ee03
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x7c]
movsx edx, ax
inc eax
mov dword [ecx + edx*4], esi
mov dword [esp + 0x24], eax
jmp 0x44ee03
mov edi, dword [esi + 4]
xor ecx, ecx
lea eax, [ebp + 0x58]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 4
mov dword [esp + 0x2c], ecx
jmp 0x44ea90
mov ebx, dword [esp + 0x7c]
lea ecx, [ecx]
mov eax, dword [0x746eb8]
mov ecx, dword [eax + 0x4c]
lea edx, [edi + edi*2]
lea edi, [ecx + edx*8]
cmp dword [edi + 0x14], ebx
sete dl
xor ecx, ecx
test dl, dl
sete cl
mov byte [esp + 0x12], dl
mov esi, ecx
mov ecx, dword [eax + 0x58]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
mov esi, dword [edi + esi*4]
and eax, 1
lea ebx, [eax + eax*2]
shl esi, 4
shl ebx, 5
add esi, ecx
add ebx, 0x6b0940
cmp word [esp + 0x1c], 0
jne 0x44eb12
movzx edx, dl
mov eax, dword [edi + edx*4]
movsx edx, word [ebp + 0x54]
shl eax, 4
add eax, ecx
mov cl, byte [ebp + 0x56]
movzx ecx, cl
lea ecx, [ecx + edx*2]
shl ecx, 2
movsx edx, word [ecx + 0x65c2ec]
movsx ecx, word [ecx + 0x65c2ee]
fld dword [eax + edx*4]
fstp dword [esp + 0x3c]
fld dword [eax + ecx*4]
fstp dword [esp + 0x40]
mov al, byte [ebp + 0x56]
movsx edx, word [ebp + 0x54]
movzx eax, al
lea eax, [eax + edx*2]
shl eax, 2
movsx ecx, word [eax + 0x65c2ec]
movsx edx, word [eax + 0x65c2ee]
fld dword [esi + ecx*4]
fstp dword [esp + 0x34]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
fld dword [esi + edx*4]
lea edx, [esp + 0x34]
fstp dword [esp + 0x38]
call fcn.0044dab0
test eax, eax
je 0x44ec5e
push 0
lea eax, [esp + 0x17]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push 0xc
lea edx, [esp + 0x64]
push edx
push eax
push ecx
mov edx, ebx
call fcn.004cb030
add esp, 0x1c
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x80]
test al, al
je 0x44ec66
mov al, byte [esp + 0x13]
test al, al
je 0x44ec66
cmp word [esp + 0x14], 0x400
jge 0x44ec66
movzx edx, byte [esp + 0x12]
mov eax, dword [edi + edx*4]
mov ecx, dword [0x746eb8]
mov edx, dword [ecx + 0x58]
shl eax, 4
add eax, edx
push ecx
lea edx, [esp + 0x4c]
fld dword [eax]
mov ecx, esi
fsub dword [esi]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x50]
fld dword [eax + 8]
movsx eax, word [esp + 0x8c]
fsub dword [esi + 8]
shl eax, 4
fstp dword [esp + 0x54]
fld dword [esp + 0x88]
fmul dword [eax + 0x657450]
lea eax, [ebp + 0x28]
fstp dword [esp]
call fcn.004ce700
add esp, 4
test al, al
je 0x44ec66
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + ecx*4 + 0x10]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x44ec66
lea esp, [esp]
cmp cx, word [esp + 0x14]
jge 0x44ec41
mov esi, dword [esp + 0x8c]
movsx edx, cx
cmp dword [esi + edx*4], eax
jne 0x44ec39
or eax, 0xffffffff
inc ecx
cmp eax, 0xffffffff
jne 0x44ec20
jmp 0x44ec66
cmp eax, 0xffffffff
je 0x44ec66
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x8c]
movsx edx, cx
inc ecx
mov dword [esi + edx*4], eax
mov dword [esp + 0x14], ecx
jmp 0x44ec66
mov dword [esp + 0x18], 0
movzx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x1c]
mov edi, dword [edi + eax*4 + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc edx
mov dword [esp + 0x3c], ecx
cmp edi, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], edx
je 0x44eca1
cmp word [esp + 0x18], 0
jg 0x44ea89
mov ecx, dword [esp + 0x18]
cmp cx, 3
jl 0x44ee03
mov eax, dword [esp + 0x78]
movsx edx, word [eax + 0x5000]
mov esi, 0x400
sub esi, edx
movsx edx, cx
cmp edx, esi
jg 0x44ee03
mov edx, dword [esp + 0x20]
test byte [edx + 8], 0xb
jne 0x44ee03
movsx edx, word [eax + 0x5802]
mov word [eax + edx*2 + 0x5002], cx
inc word [eax + 0x5802]
test cx, cx
jle 0x44ee03
movzx ecx, cx
mov dword [esp + 0x7c], 0
mov edi, ebx
mov dword [esp + 0x28], ecx
jmp 0x44ed10
mov eax, dword [esp + 0x78]
fld dword [edi]
movsx ecx, word [eax + 0x5000]
fsub dword [ebp + 0x58]
lea edx, [ecx + ecx*4]
fld dword [edi + 4]
lea ebx, [esp + 0x60]
fsub dword [ebp + 0x5c]
fstp dword [esp + 0x40]
fld st(0)
fmul dword [ebp + 0x7c]
fld dword [esp + 0x40]
fmul dword [ebp + 0x78]
fsubp st(1)
fmul dword [ebp + 0x88]
fchs
fxch st(1)
fmul dword [ebp + 0x84]
fld dword [esp + 0x40]
fmul dword [ebp + 0x80]
fsubp st(1)
fmul dword [ebp + 0x88]
fstp dword [eax + edx*4 + 0xc]
movsx ecx, word [eax + 0x5000]
lea ecx, [ecx + ecx*4]
fstp dword [eax + ecx*4 + 0x10]
movsx ecx, word [eax + 0x5000]
mov si, word [ebp + 0x54]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
push eax
mov al, byte [ebp + 0x56]
call fcn.0044d9c0
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x7c]
add esp, 4
test eax, edx
jne 0x44ede1
movsx eax, word [ecx + 0x5000]
fld dword [esp + 0x60]
fmul dword [0x672f90]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
fadd dword [eax]
fstp dword [eax]
fld dword [esp + 0x64]
fmul dword [0x672f90]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x68]
fmul dword [0x672f90]
fadd dword [eax + 8]
fstp dword [eax + 8]
mov edx, dword [esp + 0x7c]
inc word [ecx + 0x5000]
mov eax, dword [esp + 0x28]
inc edx
add edi, 8
dec eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], eax
jne 0x44ed0c
mov al, byte [esp + 0x80]
test al, al
pop edi
pop esi
je 0x44ee2e
mov ax, word [esp + 0xc]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov word [ecx], ax
mov ax, word [esp + 0x1c]
mov word [edx], ax
pop ebp
pop ebx
add esp, 0x60
ret