Function at 0x4f30d0
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 + 0x204]
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 + 0x208]
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.00470950
mov eax, dword [esi + 0x208]
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
push ebx
lea ecx, [esp + 0x94]
call fcn.004db7e0
cmp dword [esp + 0x94], edi
jge 0x4f362d
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.004dcb00
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.00462490
mov ecx, dword [esp + 0x1c]
mov eax, ecx
and eax, 7
cmp edi, 0x40
jge 0x4f31fc
cmp eax, 7
jne 0x4f31c9
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f31d3
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f31e1
lea ecx, [esp + 0x1c]
call fcn.00462200
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x94], eax
mov dword [esp + 0x1c], 2
jl 0x4f3170
jmp 0x4f3224
cmp eax, 7
jne 0x4f320c
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f3216
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f3224
lea ecx, [esp + 0x1c]
call fcn.00462200
cmp edi, 3
jl 0x4f362d
lea ecx, [esp + 0xc0]
call fcn.0040d410
test al, al
je 0x4f362d
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00462f70
mov ecx, dword [esi + 0x208]
push eax
call fcn.004a3130
lea ecx, [esp + 0xc4]
call fcn.00405640
test al, al
jne 0x4f327b
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x4f32b3
mov eax, dword [esp + 0xc4]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x4f3292
and eax, 0xfffffff8
mov eax, dword [eax + 4]
test al, 7
je 0x4f329d
and eax, 0xfffffff8
fld qword [eax]
jmp 0x4f32a8
sar eax, 3
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
call fcn.004ab830
mov dword [esp + 0x14], eax
mov ebx, eax
mov edx, dword [esp + 0x28]
push str._error
push edx
call fcn.00434b50
add esp, 8
test al, al
jne 0x4f359d
mov eax, dword [esp + 0x28]
push str._result
push eax
call fcn.00434b50
add esp, 8
test al, al
jne 0x4f359d
mov ecx, dword [esp + 0x28]
push str.onStatus
push ecx
call fcn.00434b50
add esp, 8
test al, al
je 0x4f339a
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 str.code
lea ecx, [esp + 0xdc]
mov dword [esp + 0x20], 2
call fcn.00411890
mov ecx, dword [esi + 0x208]
push eax
call fcn.004a1f10
test eax, eax
je 0x4f362d
mov ecx, dword [esi + 0x208]
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.004a3130
mov ecx, dword [esp + 0x1c]
push str.NetStream.Publish.BadName
push ecx
call fcn.00434b50
add esp, 8
test al, al
je 0x4f3388
mov ecx, esi
call fcn.004f2e40
mov edx, dword [esp + 0x1c]
push edx
call fcn.00527b30
add esp, 4
jmp 0x4f362d
lea eax, [edi - 1]
cmp eax, 3
jl 0x4f33d6
lea ebx, [esp + eax*4 + 0xc0]
lea edi, [eax - 2]
lea esp, [esp]
push ebx
lea ecx, [esp + 0x20]
call fcn.00462f70
mov eax, dword [eax]
mov ecx, dword [esi + 0x208]
push eax
call fcn.00411a50
sub ebx, 4
dec edi
jne 0x4f33b0
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 + 0x204]
push eax
call dword [edx + 8]
test ebx, ebx
movzx edi, al
jbe 0x4f362d
mov ecx, dword [esi + 0x208]
push 0
push ecx
lea ecx, [esp + 0x3c]
call fcn.004db7b0
mov ecx, dword [esi + 0x208]
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0
call fcn.00495de0
mov edx, dword [esi + 0x208]
push eax
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00484ff0
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dcb00
test ebx, ebx
mov ecx, dword [esi + 0x208]
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
push ecx
jge 0x4f346a
fadd qword [0x53a618]
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
call fcn.004850d0
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
call fcn.004dcb00
test edi, edi
jne 0x4f3514
mov eax, dword [esi + 0x208]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edi
call fcn.004623d0
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
and ecx, 7
cmp cl, 7
jne 0x4f34c1
and ebx, 0xfffffff8
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x208]
push 0
push str.Object
and ebx, 0xfffffff8
push ebx
call fcn.0049e300
push str.NetConnection.Call.Failed
push str.code
mov ecx, ebx
call fcn.0048df60
push str.error
push str.level
mov ecx, ebx
call fcn.0048df60
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call fcn.004dcb00
lea ecx, [esp + 0x1c]
call fcn.004243b0
jmp 0x4f3563
lea ecx, [esp + 0x14]
call fcn.00462370
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dcb00
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x208]
mov dword [esp + 0x14], 2
call fcn.0040d6f0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.00462490
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.004dcb00
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.004dea30
lea ecx, [esp + 0x14]
call fcn.004243b0
lea ecx, [esp + 0x34]
call fcn.004dbb60
jmp 0x4f362d
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x10]
push ebx
push edx
call fcn.004ec940
mov edi, eax
add esp, 8
test edi, edi
je 0x4f362d
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x14]
call fcn.00462f70
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.00434b50
add esp, 8
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
call dword [eax + 0x10]
test al, al
jne 0x4f361d
mov eax, dword [esp + 0x28]
push str._error
push eax
call fcn.00434b50
add esp, 8
test al, al
je 0x4f361d
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.004ec150
add esp, 8
lea ecx, [esp + 0x84]
call fcn.004dbb60
lea ecx, [esp + 0x70]
call fcn.0046fb30
mov edx, dword [esp + 0x28]
push edx
call fcn.00527b30
add esp, 4
lea esi, [esp + 0x1c0]
mov edi, 0x40
jmp 0x4f3660
mov ecx, dword [esi - 4]
sub esi, 4
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4f367b
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f3685
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f3691
mov ecx, esi
call fcn.00462200
dec edi
mov dword [esi], 2
jne 0x4f3660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4