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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x6b72a0]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov byte [esp + 0x13], 1
jne 0x4e149e
mov word [0x6b46e8], bp
call fcn.00475950
call fcn.004758f0
call fcn.004759c0
call fcn.0049f830
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp word [eax + 0xf1a], 3
jne 0x4e17da
call fcn.00449da0
mov dword [esp + 0x1c], eax
mov eax, dword [0x6b72a0]
mov cl, byte [eax + 0xf20]
test cl, cl
je 0x4e14d5
mov eax, dword [eax + 0xf0c]
and eax, 0x7fffffff
mov dword [esp + 0x54], eax
jmp 0x4e14e5
mov ecx, dword [eax + 0xf0c]
and ecx, 0x7fffffff
mov dword [esp + 0x54], ecx
mov edx, dword [0x8154d8]
mov ebx, dword [esp + 0x80]
cmp ebx, ebp
mov ax, word [edx + 0xc]
mov ecx, 8
mov esi, 0x692ddc
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x5a], ax
mov byte [esp + 0x12], 0
jle 0x4e17b6
mov al, byte [esp + 0x84]
test al, al
jne 0x4e17b6
mov eax, dword [0x8154e0]
mov dword [esp + 0x20], eax
xor eax, 0x69746572
or esi, 0xffffffff
lea edi, [esp + 0x20]
mov word [esp + 0x24], bp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
call fcn.004d39d0
mov ebp, eax
test ebp, ebp
je 0x4e17b6
cmp word [ebp + 2], si
jne 0x4e1572
lea edi, [esp + 0x20]
call fcn.004d39d0
mov ebp, eax
test ebp, ebp
jne 0x4e1558
jmp 0x4e17b6
mov eax, dword [ebp + 0x34]
cmp eax, esi
je 0x4e17b6
cmp word [0x6b46e8], 1
mov ecx, dword [0x6b72a0]
lea edx, [ecx + 0xf54]
mov dword [esp + 0x14], edx
jne 0x4e1720
mov edx, dword [ecx + 0xf88]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x20
mov edi, esp
push ebx
mov ecx, 8
mov esi, 0x692ddc
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004ea600
mov cl, byte [esp + 0x44]
add esp, 0x2c
cmp al, 1
mov byte [esp + 0x11], cl
jne 0x4e17eb
cmp word [0x6b46e8], 1
fld dword [esp + 0x64]
fcos
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], edx
mov dx, word [esp + 0x74]
mov dword [esp + 0x48], eax
mov ax, word [esp + 0x76]
mov word [esp + 0x4c], dx
mov dx, word [esp + 0x78]
mov byte [esp + 0x20], bl
mov word [esp + 0x4e], ax
mov word [esp + 0x50], dx
fld dword [esp + 0x60]
fcos
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x60]
fsin
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
fld dword [esp + 0x64]
fsin
fstp dword [esp + 0x3c]
jne 0x4e177d
mov eax, dword [esp + 0x14]
push 0x7ff8
push 0x80cd40
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x21]
push edx
push 0xd
mov dl, 1
call fcn.004eff00
mov ebp, eax
mov al, byte [0x6b72ac]
add esp, 0x18
cmp al, 1
mov byte [esp + 0x12], 1
jne 0x4e169d
call fcn.00449da0
mov eax, dword [0x6b72a0]
mov edi, dword [eax + 0xadc]
test byte [edi + 0xa8c], 1
mov byte [0x6b72ac], 0
mov byte [esp + 0x13], 1
lea ebx, [ebp + 1]
jne 0x4e1748
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x10]
shl ecx, 3
sub edx, ecx
sub edx, eax
inc edx
cmp ebx, edx
jle 0x4e16eb
push 1
push edi
call fcn.004e1010
add esp, 8
test al, al
je 0x4e174a
add dword [edi + 0xa80], ebx
push 1
lea ecx, [esp + 0x17]
mov eax, esi
call fcn.004d2cf0
push ebp
mov ecx, 0x80cd40
mov eax, esi
mov byte [esi + 0x1c], 0
call fcn.004d2cf0
push 1
push edi
mov byte [esi + 0x1c], 0
call fcn.004e1010
add esp, 0x10
jmp 0x4e174a
mov al, byte [0x6b72ad]
mov cl, al
inc al
movzx edx, al
and edx, 0x8000003f
mov byte [esp + 0x11], cl
jns 0x4e173d
dec edx
or edx, 0xffffffc0
inc edx
mov byte [0x6b72ad], dl
jmp 0x4e15d1
mov al, 1
test al, al
mov byte [esp + 0x13], al
je 0x4e179f
movzx ecx, byte [esp + 0x11]
mov eax, dword [esp + 0x80]
mov edx, dword [0x68cca8]
push eax
mov eax, dword [edx + 0xc]
push ecx
push eax
push str.__d_:_Sent_update___d_____d__ticks._n
mov eax, 8
xor ecx, ecx
call fcn.004e9970
jmp 0x4e179c
movsx edi, byte [ebp + 0x64]
mov esi, dword [0x6b729c]
movzx ecx, cl
push ecx
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.004e3de0
push eax
call fcn.004e33d0
add esp, 0x10
mov al, byte [esp + 0x12]
test al, al
mov edi, dword [esp + 0x14]
mov ecx, 0xd
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x4e17d0
mov al, byte [0x6b72ac]
test al, al
jne 0x4e17d0
call fcn.00449da0
mov dword [0x652df8], eax
mov byte [0x6b72ac], 1
mov ecx, dword [esp + 0x1c]
mov dword [0x6b72a8], ecx
call fcn.0049f830
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x14]
mov cx, word [eax + 0x2e]
mov dx, word [eax + 0x2c]
mov ax, word [eax + 0x30]
mov word [esp + 0x3c], ax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
mov word [esp + 0x3a], cx
mov word [esp + 0x38], dx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00475e60
call fcn.0049f890
jmp 0x4e17b6