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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x170
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
push edi
je 0x30146687
mov ebp, dword [esi + 0xb0]
test ebp, ebp
je 0x30146687
mov ebx, 0x10
jmp 0x30146650
push 0x14
lea ecx, [ebp + 0x84]
dec ebx
call fcn.30134e30
mov edi, eax
test edi, edi
je 0x30146680
push edi
mov ecx, ebp
call fcn.3014f8a0
mov ecx, edi
call fcn.3015b9f0
push edi
call fcn.30208320
add esp, 4
test ebx, ebx
jne 0x30146650
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x30146643
mov ebx, 0x10
lea esp, [esp]
dec ebx
push 0x14
lea ecx, [esi + 0x7c]
mov dword [esp + 0x64], ebx
call fcn.30134e30
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
je 0x30146fec
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x30146ef0
push eax
mov eax, dword [esi + 0x20]
push eax
lea ecx, [esp + 0x74]
call fcn.300c47a0
mov eax, edi
movzx ecx, byte [eax + 0xb]
mov ebp, dword [eax + 0x14]
xor ebx, ebx
mov bh, byte [eax + 9]
lea edi, [esp + 0x80]
mov dword [esp + 0x10], 0
mov bl, byte [eax + 0xa]
mov eax, 2
shl ebx, 8
or ebx, ecx
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 8], 0x11
jne 0x30146735
test edi, edi
je 0x30146735
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, 3
jl 0x30146735
mov al, byte [ebp]
inc ebp
dec ebx
test al, al
jne 0x30146f10
mov eax, dword [esi + 0x20]
push 0
push eax
push ebx
push ebp
push edi
lea ecx, [esp + 0x78]
call fcn.30185110
mov ecx, dword [esp + 0x64]
cmp dword [ecx + 0xc], ebx
jge 0x301467c2
mov ebp, dword [esp + 0x10]
lea edi, [esp + 0x80]
jmp 0x30146760
push 0
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], 2
mov dword [esp + 0x50], 0
call fcn.30133750
lea eax, [esp + 0x40]
mov ecx, edi
push eax
inc ebp
add edi, 4
call fcn.300ba520
cmp ebp, 0x40
lea ecx, [esp + 0x40]
jge 0x301467b1
call fcn.300ba4b0
mov ecx, dword [esp + 0x64]
cmp dword [ecx + 0xc], ebx
mov dword [esp + 0x40], 0
jl 0x30146760
mov dword [esp + 0x10], ebp
jmp 0x301467c2
mov dword [esp + 0x10], ebp
call fcn.300ba4b0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x64]
call fcn.30182200
mov edi, dword [esp + 0x10]
cmp edi, 3
jl 0x30146f51
mov ecx, dword [esp + 0x80]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x301467f4
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x301467fe
and ecx, 0x1f
mov eax, ecx
cmp eax, 4
je 0x3014680c
cmp eax, 5
jne 0x30146f91
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x60]
call fcn.300b9fd0
mov ecx, dword [esi + 0x20]
push eax
call fcn.30108fc0
mov ecx, dword [esp + 0x84]
mov ebx, ecx
and ebx, 7
mov eax, ebx
cmp eax, 7
mov dword [esp + 0x58], 0
mov edx, ecx
jne 0x30146854
mov eax, ecx
and eax, 0xfffffff8
mov edx, dword [eax + 0xc]
mov eax, edx
and eax, ebx
cmp eax, 2
jne 0x3014685e
and edx, 0x1f
mov eax, edx
test eax, eax
je 0x301468d7
cmp eax, 1
je 0x301468d7
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x18]
push 0x302a2ac8
push edx
call fcn.300757e0
add esp, 8
test al, al
jne 0x30146de3
mov eax, dword [esp + 0x18]
push str._result
push eax
call fcn.300757e0
add esp, 8
test al, al
jne 0x30146de3
mov ecx, dword [esp + 0x18]
push 0x302986d0
push ecx
call fcn.300757e0
add esp, 8
test al, al
je 0x30146bbb
mov edx, dword [esi]
lea eax, [esp + 0x8c]
push eax
push 0
push 0
push 0
push 0
mov ecx, esi
call dword [edx + 0x18]
jmp 0x30146ea0
cmp ebx, 7
jne 0x301468e2
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
test cl, 7
je 0x301468ee
and ecx, 0xfffffff8
fld qword [ecx]
jmp 0x301468f9
sar ecx, 3
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
call fcn.3002ddb0
mov ebp, eax
cmp ebp, 1
mov dword [esp + 0x10], ebp
jne 0x3014686d
mov ecx, dword [esi + 0x1c]
push str.isConnected
call fcn.300ed720
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x30146ea0
mov ecx, dword [esp + 0x18]
push 0x302a2ac8
push ecx
call fcn.300757e0
add esp, 8
neg al
sbb al, al
inc al
movzx edx, al
push edx
mov ecx, ebx
call fcn.300ba680
mov eax, dword [ebx]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x3014695d
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test eax, 0xffffffe0
je 0x30146a9e
mov ebp, dword [esi + 0x78]
test ebp, ebp
je 0x30146a6e
lea edi, [ebp + 0xa98]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0x3ad0]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x30146a6a
mov edx, dword [esi + 0x20]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 2
call fcn.300ba310
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x301469be
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x20]
push 0
push 0x302938a8
and eax, 0xfffffff8
push eax
call fcn.301021c0
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
push 0x44
push edx
push str.fpadInfo
call fcn.300f0570
mov ebp, eax
test ebp, ebp
je 0x30146a6a
mov ecx, dword [ebp]
mov edi, dword [ebx + 4]
mov eax, ecx
and eax, 7
cmp al, 7
jne 0x30146a00
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
push edi
push 0x302a2ab0
and ecx, 0xfffffff8
call fcn.300ee940
mov ecx, dword [ebp]
mov edx, ecx
and edx, 7
cmp dl, 7
jne 0x30146a21
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
fild dword [ebx + 0x10]
sub esp, 8
and ecx, 0xfffffff8
fstp qword [esp]
push str.port
call fcn.300f05b0
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x30146a6a
mov edi, edi
mov ecx, dword [ebp]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
mov ebx, ecx
and ebx, 7
cmp bl, 7
jne 0x30146a59
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
push eax
push edx
and ecx, 0xfffffff8
call fcn.300ee940
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x30146a40
mov ebx, dword [esp + 0x14]
lea edi, [esi + 0xe8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [esi + 0x100], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0xa94]
test ecx, ecx
je 0x30146a9e
call fcn.30156dd0
mov eax, dword [esi + 0xe4]
test eax, eax
jne 0x30146ea0
mov eax, dword [esp + 0x8c]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x30146ac3
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
and eax, 0xfffffff8
mov ebp, eax
je 0x30146b8b
mov eax, dword [ebx]
mov edx, eax
and edx, 7
cmp dl, 7
jne 0x30146ae0
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test eax, 0xffffffe0
je 0x30146b8b
mov eax, dword [esi]
mov ecx, esi
xor ebx, ebx
call dword [eax + 0x1c]
test eax, eax
je 0x30146b01
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov ebx, eax
push str.objectEncoding
mov ecx, ebp
xor edi, edi
call fcn.300ed720
test eax, eax
je 0x30146b2a
mov eax, dword [eax]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x30146b25
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
sar eax, 3
mov edi, eax
cmp ebx, edi
je 0x30146b8b
mov ecx, dword [esi + 0x1c]
test ecx, ecx
mov dword [esi + 0xe4], 1
je 0x30146b51
push 0x47
mov eax, 2
push eax
push 0x3029bf30
call fcn.300f0570
mov edx, dword [esi]
push 0
push 0
push str.objectEncoding_error
push 0x302986fc
push 0x302a29c0
mov ecx, esi
call dword [edx + 0x18]
mov ecx, esi
call fcn.30145cc0
mov ecx, dword [esi + 0x78]
push 1
call fcn.30135b60
mov dword [esi + 0xe4], 0
jmp 0x30146ea0
mov eax, dword [esi]
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push 0
mov ecx, esi
mov dword [esi + 0xe4], 1
call dword [eax + 0x18]
mov dword [esi + 0xe4], 0
jmp 0x30146ea0
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
je 0x30146be0
mov edx, dword [esi]
add edi, 0xfffffffd
push edi
lea ecx, [esp + 0x90]
push ecx
push eax
mov eax, dword [esi + 0x1c]
push eax
mov ecx, esi
call dword [edx + 8]
movzx ebx, al
test ebp, ebp
jbe 0x30146dba
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], 0x14
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [esi + 0x20]
push 0
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.301851a0
test edi, edi
je 0x30146c2f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp eax, 3
jl 0x30146c2f
mov ecx, dword [esp + 0x28]
push 0
add ecx, 4
mov dword [esp + 0x14], 0x11
call fcn.3015bd40
test ebx, ebx
mov dword [esp + 0x30], 2
mov dword [esp + 0x38], 0
mov edi, str._result
jne 0x30146c4d
mov edi, 0x302a2ac8
mov ecx, dword [esi + 0x20]
call fcn.300f88b0
push eax
mov eax, dword [esi + 0x20]
push edi
push eax
lea ecx, [esp + 0x3c]
call fcn.300e8af0
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.30133750
test ebp, ebp
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], ebp
fild dword [esp + 0x14]
push edx
jge 0x30146c8a
fadd qword [0x30294540]
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp]
call fcn.300e8b20
mov ecx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x34]
push eax
call fcn.30133750
lea ecx, [esp + 0x30]
call fcn.300ba6a0
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.30133750
test ebx, ebx
jne 0x30146d4a
mov edx, dword [esi + 0x20]
xor ebp, ebp
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 2
mov dword [esp + 0x58], ebp
call fcn.300ba720
mov edi, dword [esp + 0x4c]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x30146cf8
and edi, 0xfffffff8
mov edi, dword [edi + 0xc]
mov ecx, dword [esi + 0x20]
push ebp
push 0x302938a8
and edi, 0xfffffff8
push edi
call fcn.301021c0
push str.NetConnection.Call.Failed
push 0x302986e4
mov ecx, edi
call fcn.300ee940
push 0x302986fc
push 0x302986ec
mov ecx, edi
call fcn.300ee940
push ebp
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.30133750
lea ecx, [esp + 0x4c]
call fcn.300ba4b0
mov dword [esp + 0x4c], ebp
jmp 0x30146d7f
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 2
call fcn.30011610
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.300ba520
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.30133750
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 8]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0x10]
and eax, 0x7fffffff
push eax
push edi
push ebx
push edx
lea ecx, [esi + 0x7c]
call fcn.30135b30
lea ecx, [esp + 0x30]
call fcn.300ba4b0
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebp
call fcn.30182200
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x674]
add eax, 0x658
test ecx, ecx
jbe 0x30146ea0
dec ecx
mov dword [eax + 0x1c], ecx
mov eax, dword [eax + 0x24]
mov dword [eax + ecx*4], 2
jmp 0x30146ea0
mov eax, dword [esi + 0x28]
test eax, eax
lea ebp, [esi + 0x28]
je 0x30146ea0
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0x20], ecx
je 0x30146e06
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x30146df5
jmp 0x30146ea0
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x30146ea0
mov ecx, dword [esp + 0x18]
push str._result
push ecx
call fcn.300757e0
add esp, 8
lea edx, [esp + 0x8c]
mov bl, al
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], bl
call fcn.300b9fd0
mov edx, dword [esp + 0x5c]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x30146e6b
test bl, bl
jne 0x30146e6b
mov eax, dword [esi]
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push 0
mov ecx, esi
call dword [eax + 0x18]
mov eax, ebp
cmp dword [eax], 0
je 0x30146e98
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 0x20], edx
je 0x30146e87
lea eax, [ecx + 0x28]
cmp dword [eax], 0
jne 0x30146e76
jmp 0x30146e98
mov ecx, dword [eax]
test ecx, ecx
mov edx, dword [ecx + 0x28]
mov dword [eax], edx
je 0x30146e98
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.30208320
add esp, 4
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea edi, [esp + 0x180]
mov ebx, 0x40
jmp 0x30146ed0
sub edi, 4
mov ecx, edi
call fcn.300ba4b0
dec ebx
mov dword [edi], ebp
jne 0x30146ed0
lea ecx, [esp + 0x6c]
call fcn.300c3150
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.3015b9f0
push edi
call fcn.30208320
add esp, 4
test ebx, ebx
jne 0x30146690
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
push edx
call fcn.30208320
add esp, 4
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x180]
mov edi, 0x40
jmp 0x30146f40
sub esi, 4
mov ecx, esi
call fcn.300ba4b0
dec edi
mov dword [esi], ebx
jne 0x30146f40
jmp 0x30146fcf
mov eax, dword [esp + 0x18]
push eax
call fcn.30208320
add esp, 4
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x180]
mov edi, 0x40
jmp 0x30146f80
sub esi, 4
mov ecx, esi
call fcn.300ba4b0
dec edi
mov dword [esi], ebx
jne 0x30146f80
jmp 0x30146fcf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.30208320
add esp, 4
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x180]
mov edi, 0x40
jmp 0x30146fc0
sub esi, 4
mov ecx, esi
call fcn.300ba4b0
dec edi
mov dword [esi], ebx
jne 0x30146fc0
lea ecx, [esp + 0x6c]
call fcn.300c3150
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.3015b9f0
push esi
call fcn.30208320
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret