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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x70e020]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov byte [esp + 0x13], 1
jne 0x4dbebe
mov word [0x70b460], bp
call fcn.00471a60
call fcn.00471a00
call fcn.00471ad0
call fcn.0049ad60
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp word [eax + 0xb1a], 3
jne 0x4dc1fa
call fcn.00449300
mov dword [esp + 0x1c], eax
mov eax, dword [0x70e020]
mov cl, byte [eax + 0xb20]
test cl, cl
je 0x4dbef5
mov eax, dword [eax + 0xb0c]
and eax, 0x7fffffff
mov dword [esp + 0x54], eax
jmp 0x4dbf05
mov ecx, dword [eax + 0xb0c]
and ecx, 0x7fffffff
mov dword [esp + 0x54], ecx
mov edx, dword [0x86b838]
mov ebx, dword [esp + 0x80]
cmp ebx, ebp
mov ax, word [edx + 0xc]
mov ecx, 8
mov esi, 0x6efd44
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x5a], ax
mov byte [esp + 0x12], 0
jle 0x4dc1d6
mov al, byte [esp + 0x84]
test al, al
jne 0x4dc1d6
mov eax, dword [0x86b840]
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.004ce910
mov ebp, eax
test ebp, ebp
je 0x4dc1d6
cmp word [ebp + 2], si
jne 0x4dbf92
lea edi, [esp + 0x20]
call fcn.004ce910
mov ebp, eax
test ebp, ebp
jne 0x4dbf78
jmp 0x4dc1d6
mov eax, dword [ebp + 0x34]
cmp eax, esi
je 0x4dc1d6
cmp word [0x70b460], 1
mov ecx, dword [0x70e020]
lea edx, [ecx + 0xb50]
mov dword [esp + 0x14], edx
jne 0x4dc140
mov edx, dword [ecx + 0xb84]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x20
mov edi, esp
push ebx
mov ecx, 8
mov esi, 0x6efd44
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004e2930
mov cl, byte [esp + 0x44]
add esp, 0x2c
cmp al, 1
mov byte [esp + 0x11], cl
jne 0x4dc20b
cmp word [0x70b460], 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 0x4dc19d
mov eax, dword [esp + 0x14]
push 0x7ff8
push 0x863580
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x21]
push edx
push 0xd
mov dl, 1
call fcn.004e8010
mov ebp, eax
mov al, byte [0x70e02c]
add esp, 0x18
cmp al, 1
mov byte [esp + 0x12], 1
jne 0x4dc0bd
call fcn.00449300
mov eax, dword [0x70e020]
mov edi, dword [eax + 0x77c]
test byte [edi + 0xa8c], 1
mov byte [0x70e02c], 0
mov byte [esp + 0x13], 1
lea ebx, [ebp + 1]
jne 0x4dc168
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 0x4dc10b
push 1
push edi
call fcn.004dba30
add esp, 8
test al, al
je 0x4dc16a
add dword [edi + 0xa80], ebx
push 1
lea ecx, [esp + 0x17]
mov eax, esi
call fcn.004cdc30
push ebp
mov ecx, 0x863580
mov eax, esi
mov byte [esi + 0x1c], 0
call fcn.004cdc30
push 1
push edi
mov byte [esi + 0x1c], 0
call fcn.004dba30
add esp, 0x10
jmp 0x4dc16a
mov al, byte [0x70e02d]
mov cl, al
inc al
movzx edx, al
and edx, 0x8000003f
mov byte [esp + 0x11], cl
jns 0x4dc15d
dec edx
or edx, 0xffffffc0
inc edx
mov byte [0x70e02d], dl
jmp 0x4dbff1
mov al, 1
test al, al
mov byte [esp + 0x13], al
je 0x4dc1bf
movzx ecx, byte [esp + 0x11]
mov eax, dword [esp + 0x80]
mov edx, dword [0x6eb40c]
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.004e2440
jmp 0x4dc1bc
movsx edi, byte [ebp + 0x64]
mov esi, dword [0x70e01c]
movzx ecx, cl
push ecx
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.004de750
push eax
call fcn.004ddd00
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 0x4dc1f0
mov al, byte [0x70e02c]
test al, al
jne 0x4dc1f0
call fcn.00449300
mov dword [0x6b1630], eax
mov byte [0x70e02c], 1
mov ecx, dword [esp + 0x1c]
mov dword [0x70e028], ecx
call fcn.0049ad60
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.00471fa0
call fcn.0049adc0
jmp 0x4dc1d6