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

Disassembly:
sub esp, 0x508
mov eax, dword [esp + 0x50c]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [eax + 0x14]
xor ecx, ecx
xor edx, edx
mov ch, byte [eax + 9]
mov dl, byte [eax + 0xb]
mov cl, byte [eax + 0xa]
push edi
shl ecx, 8
or ecx, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x114]
mov ebp, 0x40
mov ecx, edi
mov dword [edi + 4], 0
call fcn.0043d9b0
add edi, 0x10
dec ebp
jne 0x49fee0
mov ecx, dword [esi + 0x1fc]
xor edi, edi
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00455eb0
push eax
mov eax, dword [esi + 0x200]
push eax
lea ecx, [esp + 0xd4]
call fcn.0043e910
mov ecx, dword [esi + 0x200]
mov ebp, dword [esp + 0x10]
push edi
push ecx
push ebp
push ebx
lea ecx, [esp + 0xec]
call fcn.0048d910
cmp dword [esp + 0xe8], ebp
jge 0x4a0601
lea edi, [esp + 0x114]
mov eax, dword [esi + 0x200]
push eax
push 0x4d28b8
call fcn.004562c0
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
push edx
call fcn.00455120
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49ff9d
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x49ff9d
call fcn.00456510
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0xe4]
call fcn.0048e8c0
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x34]
inc ebx
mov ecx, edi
push edx
mov dword [esp + 0x1c], ebx
add edi, 0x10
call fcn.00454fb0
cmp ebx, 0x40
lea ecx, [esp + 0x34]
jge 0x4a000c
call fcn.004551c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49ffe3
call fcn.00422030
lea ecx, [esp + 0x34]
call fcn.00454b70
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49fff9
call fcn.00422030
cmp dword [esp + 0xe8], ebp
jl 0x49ff50
mov ebx, dword [esp + 0x18]
jmp 0x4a0034
call fcn.004551c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4a001e
call fcn.00422030
lea ecx, [esp + 0x34]
call fcn.00454b70
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4a0034
call fcn.00422030
cmp ebx, 3
jl 0x4a0601
cmp dword [esp + 0x114], 2
jne 0x4a0601
lea eax, [esp + 0x28]
lea ecx, [esp + 0x114]
push eax
push ecx
mov ecx, dword [esi + 0x200]
call fcn.00466510
mov eax, dword [esp + 0x124]
test eax, eax
je 0x4a0076
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x4a0088
fld qword [esp + 0x12c]
call fcn.0046a720
mov dword [esp + 0x18], eax
mov ebp, eax
mov edx, dword [esp + 0x28]
push str._error
push edx
call fcn.0041c1f0
add esp, 8
test al, al
jne 0x4a0513
mov eax, dword [esp + 0x28]
push str._result
push eax
call fcn.0041c1f0
add esp, 8
test al, al
jne 0x4a0513
mov ecx, dword [esp + 0x28]
push str.onStatus
push ecx
call fcn.0041c1f0
add esp, 8
test al, al
je 0x4a01a8
lea edx, [esp + 0x144]
xor edi, edi
push edx
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004a0ec0
mov ecx, dword [esp + 0x14c]
push edi
lea eax, [esp + 0x60]
push edi
push eax
push str.code
push ecx
mov ecx, dword [esi + 0x200]
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], 6
mov dword [esp + 0x74], edi
call fcn.0045b280
test eax, eax
je 0x4a016b
mov ecx, dword [esi + 0x200]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00466510
mov ecx, dword [esp + 0x1c]
push str.NetStream.Publish.BadName
push ecx
call fcn.0041c1f0
add esp, 8
test al, al
je 0x4a015c
mov ecx, esi
call fcn.0049f4a0
mov edx, dword [esp + 0x1c]
mov ecx, 0x4de568
push edx
call fcn.0041e9a0
lea ecx, [esp + 0x5c]
call fcn.00454b70
mov ecx, dword [esp + 0x60]
cmp ecx, edi
je 0x4a0601
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a0601
call fcn.00456510
jmp 0x4a0601
lea eax, [ebx - 1]
mov dword [esp + 0x1c], 0
cmp eax, 3
jl 0x4a0203
mov ecx, eax
shl ecx, 4
add eax, 0xfffffffe
lea ebp, [esp + ecx + 0x114]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x200]
mov ecx, edi
call fcn.00461400
test eax, eax
je 0x4a01f5
mov edx, dword [edi + 0xc90]
mov eax, dword [edi + 0xc8c]
shl edx, 4
push ebp
lea ecx, [edx + eax - 0x10]
call fcn.00454fb0
mov eax, dword [esp + 0x10]
sub ebp, 0x10
dec eax
mov dword [esp + 0x10], eax
jne 0x4a01cb
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a0210
mov eax, 0x4de524
push eax
call fcn.0041c3f0
mov ecx, dword [esi + 0x1fc]
mov edx, dword [esi + 0x200]
add ebx, 0xfffffffd
mov edi, eax
push ebx
push edi
push ecx
push edx
call fcn.0049f9d0
add esp, 0x14
mov ebx, 1
test al, al
jne 0x4a0240
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, 0x4de568
call fcn.0041e9a0
mov edi, dword [esp + 0x18]
test edi, edi
jbe 0x4a0503
mov eax, dword [esi + 0x200]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048d8e0
mov eax, dword [esi + 0x200]
push eax
push 0x4de524
call fcn.004562c0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00455120
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a02b9
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a02b9
call fcn.00456510
mov ecx, dword [esi + 0x200]
call fcn.004698d0
push eax
push 1
lea ecx, [esp + 0x3c]
call fcn.00454cd0
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048e8c0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp]
call fcn.00454c00
lea ecx, [esp + 0x34]
push 0
push ecx
lea ecx, [esp + 0x9c]
call fcn.0048e8c0
test ebx, ebx
jne 0x4a042f
mov eax, dword [esi + 0x200]
push eax
push 0x4d28b8
call fcn.004562c0
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x10], eax
push edx
call fcn.00455120
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a036a
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a036a
call fcn.00456510
mov eax, dword [esi + 0x200]
lea ecx, [esp + 0x6c]
push eax
call fcn.00454ea0
mov edi, dword [esp + 0x74]
mov ecx, dword [esi + 0x200]
push 0
push str.Object
push edi
call fcn.004649d0
push 0
push str.NetConnection.Call.Failed
push str.code
mov ecx, edi
call fcn.004540c0
push 0
push str.error
push str.level
mov ecx, edi
call fcn.004540c0
lea ecx, [esp + 0x6c]
push 0
push ecx
lea ecx, [esp + 0x9c]
call fcn.0048e8c0
lea ecx, [esp + 0x6c]
call fcn.004551c0
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4a03fd
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a03fd
call fcn.00456510
lea ecx, [esp + 0x6c]
call fcn.00454b70
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4a046e
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a046e
call fcn.00456510
jmp 0x4a046e
lea ecx, [esp + 0x34]
call fcn.00454d80
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0048e8c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x200]
call fcn.004615d0
lea edx, [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x9c]
call fcn.0048e8c0
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
call dword [sym.imp.WINMM.dll_timeGetTime]
and eax, 0x7fffffff
lea ecx, [esi + 0x80]
push eax
push edi
push ebx
push 0x14
call fcn.0048f9b0
lea ecx, [esp + 0x34]
call fcn.004551c0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4a04c7
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a04c7
call fcn.00456510
lea ecx, [esp + 0x34]
call fcn.00454b70
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4a04f7
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x4a04f7
call fcn.00456510
lea ecx, [esp + 0x94]
call fcn.0048d950
mov ecx, dword [esi + 0x200]
call fcn.00461550
jmp 0x4a0601
mov eax, dword [esi + 0x14]
push ebp
mov ecx, dword [eax + 0xc]
push ecx
call fcn.0049caa0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a0601
mov edi, dword [esi + 0x200]
mov byte [esp + 0x17], 0
mov ecx, edi
call fcn.00461400
test eax, eax
je 0x4a0563
mov eax, dword [edi + 0xc90]
mov ecx, dword [edi + 0xc8c]
shl eax, 4
lea edx, [esp + 0x144]
push edx
lea ecx, [eax + ecx - 0x10]
call fcn.00454fb0
mov edx, dword [esp + 0x28]
push str._result
push edx
call fcn.0041c1f0
add esp, 8
test al, al
mov eax, str.onResult
jne 0x4a0583
mov eax, str.onStatus
mov ecx, dword [esi + 0x200]
push 0
push 0
push 0
push 0
push 1
push eax
push 0
push ebx
call fcn.00463850
test eax, eax
je 0x4a05b1
mov ecx, dword [esi + 0x200]
push 1
call fcn.00439b30
mov bl, 1
jmp 0x4a05b5
mov bl, byte [esp + 0x17]
mov ecx, dword [esi + 0x200]
call fcn.00461550
test bl, bl
jne 0x4a05f1
mov eax, dword [esp + 0x28]
push str._error
push eax
call fcn.0041c1f0
add esp, 8
test al, al
je 0x4a05f1
lea ecx, [esp + 0x144]
push ecx
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.004a0ec0
mov edx, dword [esi + 0x14]
push ebp
add edx, 0xc
push edx
call fcn.0049cac0
add esp, 8
lea ecx, [esp + 0xdc]
call fcn.0048d950
lea ecx, [esp + 0xcc]
call fcn.0043ea40
mov eax, dword [esp + 0x28]
mov ecx, 0x4de568
push eax
call fcn.0041e9a0
lea esi, [esp + 0x518]
mov edi, 0x40
sub esi, 0x10
lea ecx, [esi - 4]
call fcn.00454b70
mov ecx, dword [esi]
test ecx, ecx
je 0x4a0661
mov edx, dword [ecx]
mov eax, edx
and al, 0xfe
not edx
dec eax
and edx, 1
xor eax, edx
test eax, 0xfffffffe
mov dword [ecx], eax
jg 0x4a0661
call fcn.00456510
dec edi
jne 0x4a0634
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret 4