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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
push ebx
mov ebx, dword [eax + 0x14]
push esi
mov esi, ecx
xor ecx, ecx
mov ch, byte [eax + 9]
push edi
lea edi, [esp + 0xc0]
mov cl, byte [eax + 0xa]
mov eax, 2
shl ecx, 8
or ecx, edx
mov dword [esp + 0x14], ecx
xor edx, edx
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x20c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x210]
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.00471d70
mov eax, dword [esi + 0x210]
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
push ebx
lea ecx, [esp + 0x94]
call fcn.004deb60
cmp dword [esp + 0x94], edi
jge 0x4f6fca
lea ebx, [esp + 0xc0]
lea ebx, [ebx]
push 0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0
call fcn.004dfe90
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov ecx, ebx
inc edi
push edx
mov dword [esp + 0x14], edi
add ebx, 4
call fcn.00463510
mov ecx, dword [esp + 0x1c]
mov eax, ecx
and eax, 7
cmp edi, 0x40
jge 0x4f6b8c
cmp eax, 7
jne 0x4f6b59
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f6b63
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f6b71
lea ecx, [esp + 0x1c]
call fcn.00463210
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x94], eax
mov dword [esp + 0x1c], 2
jl 0x4f6b00
jmp 0x4f6bb4
cmp eax, 7
jne 0x4f6b9c
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f6ba6
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f6bb4
lea ecx, [esp + 0x1c]
call fcn.00463210
cmp edi, 3
jl 0x4f6fca
lea ecx, [esp + 0xc0]
call fcn.0040c310
test al, al
je 0x4f6fca
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00464010
mov ecx, dword [esi + 0x210]
push eax
call fcn.004a5630
lea ecx, [esp + 0xc4]
call fcn.004023e0
test al, al
jne 0x4f6c0b
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x4f6c43
mov eax, dword [esp + 0xc4]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x4f6c22
and eax, 0xfffffff8
mov eax, dword [eax + 4]
test al, 7
je 0x4f6c2d
and eax, 0xfffffff8
fld qword [eax]
jmp 0x4f6c38
sar eax, 3
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
call fcn.004ae0e0
mov dword [esp + 0x14], eax
mov ebx, eax
mov edx, dword [esp + 0x28]
push str._error
push edx
call fcn.00435400
add esp, 8
test al, al
jne 0x4f6f3a
mov eax, dword [esp + 0x28]
push str._result
push eax
call fcn.00435400
add esp, 8
test al, al
jne 0x4f6f3a
mov ecx, dword [esp + 0x28]
push str.onStatus
push ecx
call fcn.00435400
add esp, 8
test al, al
je 0x4f6d2a
mov edx, dword [esi]
lea eax, [esp + 0xcc]
push eax
xor edi, edi
push edi
push edi
push edi
push edi
mov ecx, esi
call dword [edx + 0xc]
push edi
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x53f360
lea ecx, [esp + 0xdc]
mov dword [esp + 0x20], 2
call fcn.00411870
mov ecx, dword [esi + 0x210]
push eax
call fcn.004a43b0
test eax, eax
je 0x4f6fca
mov ecx, dword [esi + 0x210]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004a5630
mov ecx, dword [esp + 0x1c]
push str.NetStream.Publish.BadName
push ecx
call fcn.00435400
add esp, 8
test al, al
je 0x4f6d18
mov ecx, esi
call fcn.004f67c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00439d00
add esp, 4
jmp 0x4f6fca
lea eax, [edi - 1]
cmp eax, 3
jl 0x4f6d66
lea ebx, [esp + eax*4 + 0xc0]
lea edi, [eax - 2]
lea esp, [esp]
push ebx
lea ecx, [esp + 0x20]
call fcn.00464010
mov eax, dword [eax]
mov ecx, dword [esi + 0x210]
push eax
call fcn.00411a40
sub ebx, 4
dec edi
jne 0x4f6d40
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
add edi, 0xfffffffd
push edi
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0x20c]
push eax
call dword [edx + 8]
test ebx, ebx
movzx edi, al
jbe 0x4f6fca
mov ecx, dword [esi + 0x210]
push 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.004deb30
mov ecx, dword [esi + 0x210]
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0
call fcn.00497d20
mov edx, dword [esi + 0x210]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.0048b800
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dfe90
test ebx, ebx
mov ecx, dword [esi + 0x210]
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
push ecx
jge 0x4f6dfa
fadd qword [0x53d658]
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
call fcn.0048b850
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
call fcn.004dfe90
test edi, edi
jne 0x4f6ea6
mov eax, dword [esi + 0x210]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edi
call fcn.004633f0
mov eax, dword [esp + 0x1c]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x4f6e51
and eax, 0xfffffff8
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x210]
push 0
and eax, 0xfffffff8
mov ebx, eax
push str.Object
push ebx
call fcn.0049f810
push str.NetConnection.Call.Failed
push 0x53f360
mov ecx, ebx
call fcn.004900f0
push str.error
push str.level
mov ecx, ebx
call fcn.004900f0
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.004dfe90
lea ecx, [esp + 0x1c]
call fcn.00430970
jmp 0x4f6ef5
lea ecx, [esp + 0x14]
call fcn.00463390
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dfe90
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x210]
mov dword [esp + 0x14], 2
call fcn.0040db00
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.00463510
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dfe90
mov ecx, dword [esi + 0x210]
call fcn.0040db40
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
call dword [sym.imp.WINMM.dll_timeGetTime]
and eax, 0x7fffffff
push eax
push edi
push ebx
push 0x14
lea ecx, [esi + 0x80]
call fcn.004e1dd0
lea ecx, [esp + 0x14]
call fcn.00430970
lea ecx, [esp + 0x34]
call fcn.004def50
jmp 0x4f6fca
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x10]
push ebx
push edx
call fcn.004efd90
mov edi, eax
add esp, 8
test edi, edi
je 0x4f6fca
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x14]
call fcn.00464010
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edi
push str._result
push edx
mov dword [esp + 0x24], eax
call fcn.00435400
add esp, 8
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
call dword [eax + 0x10]
test al, al
jne 0x4f6fba
mov eax, dword [esp + 0x28]
push str._error
push eax
call fcn.00435400
add esp, 8
test al, al
je 0x4f6fba
mov edx, dword [esi]
lea eax, [esp + 0xcc]
push eax
push 0
push 0
push 0
push 0
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [esi + 0x14]
add ecx, 0x10
push ebx
push ecx
call fcn.004ef600
add esp, 8
lea ecx, [esp + 0x84]
call fcn.004def50
lea ecx, [esp + 0x70]
call fcn.00471350
mov edx, dword [esp + 0x28]
push edx
call fcn.00439d00
add esp, 4
lea esi, [esp + 0x1c0]
mov edi, 0x40
mov ecx, dword [esi - 4]
sub esi, 4
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4f7013
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f701d
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f7029
mov ecx, esi
call fcn.00463210
dec edi
mov dword [esi], 2
jne 0x4f6ff8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4