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

Disassembly:
sub esp, 0x510
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov edi, dword [esi + 0x54]
cmp edi, ebx
je 0x47ed3b
push 0x14
lea ecx, [edi + 0x80]
call fcn.004738d0
mov ebp, eax
cmp ebp, ebx
je 0x47ed34
cmp dword [esi], ebx
je 0x47ed24
push ebp
mov ecx, edi
call fcn.004814d0
mov ecx, ebp
call fcn.0046ee90
push ebp
call fcn.00417900
add esp, 4
mov edi, dword [edi + 0x10]
cmp edi, ebx
jne 0x47ed05
lea ecx, [esi + 0x20]
push 0x14
call fcn.004738d0
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x2c], edi
je 0x47f3b8
mov eax, dword [esi]
cmp eax, ebx
je 0x47f3a8
push eax
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x74]
call fcn.0042d630
mov ecx, dword [edi + 0x14]
xor edx, edx
mov dh, byte [edi + 9]
xor eax, eax
mov dl, byte [edi + 0xa]
mov al, byte [edi + 0xb]
shl edx, 8
or edx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
xor ebp, ebp
lea eax, [esp + 0x124]
mov ecx, 0x40
mov dword [eax + 4], ebx
mov dword [eax - 4], 6
mov dword [eax], ebx
add eax, 0x10
dec ecx
jne 0x47ed96
mov ecx, dword [esi + 4]
push ebx
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xf4]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00471aa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf4]
cmp ecx, eax
jge 0x47ee85
lea edi, [esp + 0x120]
mov eax, 6
push 0x4af728
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
call fcn.0043fbe0
lea ecx, [esp + 0x34]
push ebx
push ecx
lea ecx, [esp + 0xf0]
call fcn.004728f0
lea edx, [esp + 0x34]
push 1
mov ecx, edi
push edx
inc ebp
add edi, 0x10
call fcn.0043fae0
cmp ebp, 0x40
lea ecx, [esp + 0x34]
jge 0x47ee65
call fcn.0043fc30
lea ecx, [esp + 0x54]
call fcn.0043f720
lea ecx, [esp + 0x34]
call fcn.0043f720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xf4]
cmp ecx, eax
jl 0x47ede5
jmp 0x47ee7c
call fcn.0043fc30
lea ecx, [esp + 0x54]
call fcn.0043f720
lea ecx, [esp + 0x34]
call fcn.0043f720
cmp ebp, 3
jge 0x47eec7
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0xe8]
call fcn.00471ae0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x4ba850
call fcn.00417540
lea esi, [esp + 0x520]
mov ebx, 0x40
sub esi, 0x10
mov ecx, esi
call fcn.0043f720
dec ebx
jne 0x47eeac
lea ecx, [esp + 0x6c]
call fcn.0042d6d0
jmp 0x47f3a8
cmp dword [esp + 0x120], 2
je 0x47ef0a
lea ecx, [esp + 0xe8]
call fcn.00471ae0
mov edx, dword [esp + 0x18]
mov ecx, 0x4ba850
push edx
call fcn.00417540
lea esi, [esp + 0x520]
mov edi, 0x40
sub esi, 0x10
mov ecx, esi
call fcn.0043f720
dec edi
jne 0x47eef8
jmp 0x47f39b
mov ecx, dword [esi + 4]
lea eax, [esp + 0x120]
push eax
call fcn.0044f120
mov edi, eax
cmp edi, ebx
je 0x47ef35
push edi
lea ecx, [esp + 0x1c]
call fcn.00414e80
push edi
mov ecx, 0x4ba850
call fcn.00417540
cmp dword [esp + 0x130], ebx
je 0x47efa8
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
push str._error
push ecx
call fcn.004151f0
add esp, 8
test al, al
jne 0x47f2ad
mov edx, dword [esp + 0x18]
push str._result
push edx
call fcn.004151f0
add esp, 8
test al, al
jne 0x47f2ad
mov eax, dword [esp + 0x18]
push str.onStatus
push eax
call fcn.004151f0
add esp, 8
test al, al
je 0x47f030
lea ecx, [esp + 0x150]
push ecx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0047e870
jmp 0x47f367
fld qword [esp + 0x138]
call fcn.00451790
cmp eax, 1
mov dword [esp + 0x14], eax
jne 0x47ef42
mov ecx, dword [esi]
push str.isConnected
call fcn.0043e630
mov edi, eax
cmp edi, ebx
je 0x47f367
mov ecx, dword [esp + 0x18]
push str._error
push ecx
call fcn.004151f0
add esp, 8
mov ecx, edi
test al, al
sete dl
and edx, 0xff
push edx
call fcn.0043f800
cmp dword [edi + 8], ebx
je 0x47f005
push ebx
mov ecx, esi
call fcn.0047f5c0
cmp dword [esi + 0x7c], ebx
jne 0x47f367
lea eax, [esp + 0x150]
mov ecx, esi
push eax
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x7c], 1
call fcn.0047e870
mov dword [esi + 0x7c], ebx
jmp 0x47f367
lea eax, [ebp - 1]
mov dword [esp + 0x24], ebx
cmp eax, 3
jl 0x47f066
mov edx, eax
shl edx, 4
add eax, 0xfffffffe
lea edi, [esp + edx + 0x120]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 4]
push edi
call fcn.0044b070
mov eax, dword [esp + 0x30]
sub edi, 0x10
dec eax
mov dword [esp + 0x30], eax
jne 0x47f04f
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x47f073
mov eax, 0x4ba844
push eax
call fcn.00415360
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x47f0b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add ebp, 0xfffffffd
push ebp
push edi
push eax
push ecx
call fcn.00481060
add esp, 0x10
mov ebp, 1
test al, al
jne 0x47f0a3
mov ebp, dword [esp + 0x24]
push edi
mov ecx, 0x4ba850
call fcn.00417540
jmp 0x47f0b4
mov ebp, dword [esp + 0x24]
cmp dword [esp + 0x14], ebx
jbe 0x47f2a0
mov edx, dword [esi + 4]
push ebx
push edx
lea ecx, [esp + 0xb8]
call fcn.00471a70
mov eax, 6
push 0x4ba844
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
call fcn.0043fbe0
cmp ebp, ebx
mov edi, str._result
jne 0x47f108
mov edi, str._error
mov ecx, dword [esi + 4]
call fcn.00450ef0
push eax
push edi
lea ecx, [esp + 0x3c]
call fcn.0043f8b0
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xb8]
call fcn.004728f0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
sub esp, 8
fild qword [esp + 0x2c]
lea ecx, [esp + 0x3c]
fstp qword [esp]
call fcn.0043f7e0
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xb8]
call fcn.004728f0
lea ecx, [esp + 0x34]
call fcn.0043f960
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xb8]
call fcn.004728f0
cmp ebp, ebx
jne 0x47f234
mov eax, 6
push 0x4af728
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
call fcn.0043fbe0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0043fa60
mov edi, dword [esp + 0x80]
mov ecx, dword [esi + 4]
push ebx
push str.Object
push edi
call fcn.0044db60
push ebx
push str.NetConnection.Call.Failed
push str.code
mov ecx, edi
call fcn.0043eee0
push ebx
push str.error
push str.level
mov ecx, edi
call fcn.0043eee0
lea edx, [esp + 0x78]
push ebx
push edx
lea ecx, [esp + 0xb8]
call fcn.004728f0
lea ecx, [esp + 0x78]
call fcn.0043fc30
lea ecx, [esp + 0x98]
call fcn.0043f720
lea ecx, [esp + 0x78]
call fcn.0043f720
jmp 0x47f253
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
call fcn.0044b230
lea ecx, [esp + 0x34]
push ebx
push ecx
lea ecx, [esp + 0xb8]
call fcn.004728f0
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
call dword [sym.imp.WINMM.dll_timeGetTime]
and eax, 0x7fffffff
lea ecx, [esi + 0x20]
push eax
push edi
push ebx
push 0x14
call fcn.00473800
lea ecx, [esp + 0x34]
call fcn.0043fc30
lea ecx, [esp + 0x54]
call fcn.0043f720
lea ecx, [esp + 0x34]
call fcn.0043f720
lea ecx, [esp + 0xb0]
call fcn.00471ae0
mov ecx, dword [esi + 4]
call fcn.0044b1a0
jmp 0x47f367
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
push edx
push eax
call fcn.0047e7e0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x47f367
lea ecx, [esp + 0x150]
mov byte [esp + 0x13], bl
push ecx
mov ecx, dword [esi + 4]
call fcn.0044b070
mov edx, dword [esp + 0x18]
push str._result
push edx
call fcn.004151f0
add esp, 8
test al, al
mov eax, str.onResult
jne 0x47f2ff
mov eax, str.onStatus
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push 1
push eax
push ebx
push ebp
call fcn.0044ce80
test eax, eax
je 0x47f322
mov ecx, dword [esi + 4]
push 1
call fcn.004462f0
mov byte [esp + 0x13], 1
mov ecx, dword [esi + 4]
call fcn.0044b1a0
cmp byte [esp + 0x13], bl
jne 0x47f359
mov eax, dword [esp + 0x18]
push str._error
push eax
call fcn.004151f0
add esp, 8
test al, al
je 0x47f359
lea ecx, [esp + 0x150]
push ecx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0047e870
mov edx, dword [esp + 0x14]
push edx
push edi
call fcn.0047e800
add esp, 8
lea ecx, [esp + 0xe8]
call fcn.00471ae0
mov eax, dword [esp + 0x18]
mov ecx, 0x4ba850
push eax
call fcn.00417540
lea esi, [esp + 0x520]
mov edi, 0x40
sub esi, 0x10
mov ecx, esi
call fcn.0043f720
dec edi
jne 0x47f38e
lea ecx, [esp + 0x6c]
call fcn.0042d6d0
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0046ee90
push edi
call fcn.00417900
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x510
ret