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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x71c200]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov byte [esp + 0x13], 1
jne 0x4de06e
mov word [0x719648], bp
call fcn.00472ca0
call fcn.00472c40
call fcn.00472d10
call fcn.0049c840
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp word [eax + 0xeda], 3
jne 0x4de3aa
call fcn.00449380
mov dword [esp + 0x1c], eax
mov eax, dword [0x71c200]
mov cl, byte [eax + 0xee0]
test cl, cl
je 0x4de0a5
mov eax, dword [eax + 0xecc]
and eax, 0x7fffffff
mov dword [esp + 0x54], eax
jmp 0x4de0b5
mov ecx, dword [eax + 0xecc]
and ecx, 0x7fffffff
mov dword [esp + 0x54], ecx
mov edx, dword [0x87a018]
mov ebx, dword [esp + 0x80]
cmp ebx, ebp
mov ax, word [edx + 0xc]
mov ecx, 8
mov esi, 0x6f7dcc
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x5a], ax
mov byte [esp + 0x12], 0
jle 0x4de386
mov al, byte [esp + 0x84]
test al, al
jne 0x4de386
mov eax, dword [0x87a020]
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.004d0610
mov ebp, eax
test ebp, ebp
je 0x4de386
cmp word [ebp + 2], si
jne 0x4de142
lea edi, [esp + 0x20]
call fcn.004d0610
mov ebp, eax
test ebp, ebp
jne 0x4de128
jmp 0x4de386
mov eax, dword [ebp + 0x34]
cmp eax, esi
je 0x4de386
cmp word [0x719648], 1
mov ecx, dword [0x71c200]
lea edx, [ecx + 0xf14]
mov dword [esp + 0x14], edx
jne 0x4de2f0
mov edx, dword [ecx + 0xf48]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x20
mov edi, esp
push ebx
mov ecx, 8
mov esi, 0x6f7dcc
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004e6ce0
mov cl, byte [esp + 0x44]
add esp, 0x2c
cmp al, 1
mov byte [esp + 0x11], cl
jne 0x4de3bb
cmp word [0x719648], 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 0x4de34d
mov eax, dword [esp + 0x14]
push 0x7ff8
push 0x871980
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x21]
push edx
push 0xd
mov dl, 1
call fcn.004ec5f0
mov ebp, eax
mov al, byte [0x71c20c]
add esp, 0x18
cmp al, 1
mov byte [esp + 0x12], 1
jne 0x4de26d
call fcn.00449380
mov eax, dword [0x71c200]
mov edi, dword [eax + 0xadc]
test byte [edi + 0xa8c], 1
mov byte [0x71c20c], 0
mov byte [esp + 0x13], 1
lea ebx, [ebp + 1]
jne 0x4de318
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 0x4de2bb
push 1
push edi
call fcn.004ddbe0
add esp, 8
test al, al
je 0x4de31a
add dword [edi + 0xa80], ebx
push 1
lea ecx, [esp + 0x17]
mov eax, esi
call fcn.004cf930
push ebp
mov ecx, 0x871980
mov eax, esi
mov byte [esi + 0x1c], 0
call fcn.004cf930
push 1
push edi
mov byte [esi + 0x1c], 0
call fcn.004ddbe0
add esp, 0x10
jmp 0x4de31a
mov al, byte [0x71c20d]
mov cl, al
inc al
movzx edx, al
and edx, 0x8000003f
mov byte [esp + 0x11], cl
jns 0x4de30d
dec edx
or edx, 0xffffffc0
inc edx
mov byte [0x71c20d], dl
jmp 0x4de1a1
mov al, 1
test al, al
mov byte [esp + 0x13], al
je 0x4de36f
movzx ecx, byte [esp + 0x11]
mov eax, dword [esp + 0x80]
mov edx, dword [0x6f1c94]
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.004e6050
jmp 0x4de36c
movsx edi, byte [ebp + 0x64]
mov esi, dword [0x71c1fc]
movzx ecx, cl
push ecx
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.004e0990
push eax
call fcn.004dff80
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 0x4de3a0
mov al, byte [0x71c20c]
test al, al
jne 0x4de3a0
call fcn.00449380
mov dword [0x6b7eb8], eax
mov byte [0x71c20c], 1
mov ecx, dword [esp + 0x1c]
mov dword [0x71c208], ecx
call fcn.0049c840
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.00473230
call fcn.0049c8a0
jmp 0x4de386