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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push esi
push edi
mov esi, 0x64de50
push edx
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.005cab9a
add esp, 8
jmp 0x49dec0
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
jmp 0x49dec0
push 0x25
push esi
call fcn.005cab38
xor edi, edi
add esp, 8
cmp eax, edi
je 0x49e232
mov word [eax], di
add eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov ax, word [esp + 0xe]
sub ax, word [ebx + 2]
xor ecx, ecx
cmp ax, di
setl cl
mov word [0x67f668], di
push esi
lea esi, [esp + 0x10]
lea edi, [esp + 0x5c]
dec ecx
and eax, ecx
mov word [0x67f666], ax
call fcn.00559bc0
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov dx, word [edi + 2]
add word [esp + 0x12], 0xfffd
push eax
push 0
push 0
xor eax, eax
lea ecx, [esp + 0x68]
mov word [esp + 0x6a], dx
call fcn.005184f0
mov cx, word [esp + 0x1c]
mov ebx, dword [esp + 0x24]
add esp, 0x10
mov word [edi], cx
mov dword [esp + 0x1c], ebx
call fcn.0049dcd0
mov esi, eax
cmp si, 0xffff
jne 0x49dfc3
mov ebx, dword [ebp + 8]
xor eax, eax
mov ax, word [esp + 0xe]
sub ax, word [edi + 2]
xor edx, edx
test ax, ax
setl dl
push 0x609850
lea esi, [esp + 0x10]
lea edi, [esp + 0x64]
mov word [0x67f668], 0
dec edx
and eax, edx
mov word [0x67f666], ax
call fcn.00559bc0
add word [esp + 0x12], 0xfffd
mov esi, ebx
mov ax, word [esi + 2]
push 0x609850
mov word [esp + 0x6a], ax
push 0
push 0
xor eax, eax
mov ecx, edi
call fcn.005184f0
mov cx, word [esp + 0x1c]
add esp, 0x10
mov word [esi], cx
jmp 0x49e211
movsx eax, si
mov edx, dword [eax*4 + 0x62dcf8]
push edx
mov dword [esp + 0x18], eax
call fcn.005cab5a
add esp, 4
cmp si, 0x11
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
jle case.default.0x49e089
cmp si, 0x1f
jg 0x49e211
cmp si, 0x1c
jg 0x49e075
mov edx, dword [esp + 0x14]
movsx ax, byte [edx + 0x62dd86]
lea ecx, [esp + 0x6c]
push ecx
call fcn.0048e9e0
add esp, 4
test al, al
je 0x49e05d
lea ecx, [esp + 0x78]
lea eax, [esp + 0x6c]
call fcn.0048f3e0
push 0x60984c
lea eax, [esp + 0x10]
mov ecx, edi
call fcn.0049ddd0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x14]
mov ecx, edi
call fcn.0049ddd0
push 0x60984c
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.0049ddd0
add esp, 0xc
jmp 0x49e211
push 0x609844
lea eax, [esp + 0x10]
mov ecx, edi
call fcn.0049ddd0
add esp, 4
jmp 0x49e211
mov eax, dword [esp + 0x14]
movsx si, byte [eax + 0x62dd86]
add eax, 0xffffffe4
cmp eax, 3
ja case.default.0x49e089
jmp dword [eax*4 + 0x49e25c]
mov esi, 0xc
jmp 0x49e0b6
mov esi, 0xd
jmp 0x49e0b6
mov esi, 0x10
jmp 0x49e0b6
mov esi, 0x11
jmp 0x49e0b6
cmp si, 0xffff
je 0x49e211
mov ecx, dword [0x6b43dc]
mov eax, dword [ecx + 0xc8]
movsx ebx, si
mov esi, ebx
shl esi, 4
mov dl, byte [esi + eax + 0xd]
mov ecx, dword [esi + eax + 8]
add esi, eax
mov ax, word [esi + 2]
mov word [esp + 0x30], ax
lea eax, [esp + 0x20]
mov byte [esp + 0x1b], dl
call fcn.0043f5b0
mov dl, byte [esi + 0xd]
and dl, 0xfd
mov byte [esi + 0xd], dl
mov cl, byte [ebx + 0x62dce4]
test cl, cl
mov al, dl
je 0x49e10a
and al, 0xfb
mov byte [esi + 0xd], al
mov word [esi + 2], 0xfffb
mov ebx, dword [0x67f630]
mov ecx, dword [0x67f634]
mov edx, dword [0x67f638]
mov eax, dword [0x67f63c]
mov dword [esp + 0x44], ebx
fld dword [esp + 0x44]
fmul dword [0x6122c0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.005de054
shl eax, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x49e155
mov al, byte [ebp + 0xc]
test al, al
je 0x49e176
mov ecx, dword [0x67f634]
mov edx, dword [0x67f638]
mov eax, dword [0x67f63c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
fld dword [esp + 0x24]
lea ecx, [esp + 0x20]
fmul dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], 0x437f0000
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x44]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [esp + 0x44]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
fld dword [edx]
fld dword [edx + 4]
fld dword [edx + 8]
fld dword [edx + 0xc]
fld dword [esp + 0x34]
fmul st(4), st(0)
fmul st(3), st(0)
fmul st(2), st(0)
fmulp st(1)
fistp dword [esp + 0x3c]
fistp dword [esp + 0x40]
fistp dword [esp + 0x54]
fistp dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
shl ebx, 8
shl ecx, 0x10
shl eax, 0x18
or edx, ebx
or edx, ecx
or edx, eax
mov dword [esp + 0x68], edx
call fcn.0049dd20
inc word [edi + 2]
mov dl, byte [esp + 0x1b]
mov ax, word [esp + 0x30]
mov byte [esi + 0xd], dl
mov word [esi + 2], ax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x49deb4
xor eax, eax
mov word [0x67f666], ax
mov word [0x67f668], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, edi
je 0x49e245
push esi
lea eax, [esp + 0x10]
mov ecx, ebx
call fcn.0049ddd0
add esp, 4
mov word [0x67f666], di
mov word [0x67f668], di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret