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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.301558d0
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
push 0x30296f70
call fcn.300ed720
test eax, eax
je 0x3013723e
mov esi, dword [eax]
mov edx, esi
and edx, 7
cmp edx, 7
jne 0x3013720c
and esi, 0xfffffff8
mov esi, dword [esi + 0xc]
mov edx, esi
and edx, 7
cmp edx, 2
jne 0x30137216
and esi, 0x1f
mov edx, esi
cmp edx, 4
je 0x30137220
cmp edx, 5
jne 0x3013723e
mov ecx, eax
call fcn.300ba450
mov ecx, dword [ebp + 0x118]
mov esi, eax
push esi
call fcn.301349c0
push esi
call fcn.30208320
add esp, 4
mov ecx, dword [ebp + 0x11c]
mov ecx, dword [ecx + 0x1c]
push str.proxyType
xor edi, edi
call fcn.300ed720
test eax, eax
je 0x3013730a
mov edx, dword [eax]
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30137274
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x3013727e
and ecx, 0x1f
mov eax, ecx
cmp eax, 4
je 0x301372a9
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x3013729a
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x301372a4
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x3013730a
mov ecx, dword [ebp + 0x20]
push edx
call fcn.30108d10
mov esi, eax
test esi, esi
je 0x3013730a
push 0x302a23e8
push esi
call fcn.30075010
add esp, 8
test eax, eax
jne 0x301372d1
mov edi, 1
jmp 0x30137301
push str.CONNECT
push esi
call fcn.30075010
add esp, 8
test eax, eax
jne 0x301372ea
mov edi, 2
jmp 0x30137301
push str.best
push esi
call fcn.30075010
add esp, 8
test eax, eax
jne 0x30137301
mov edi, 3
push esi
call fcn.30208320
add esp, 4
mov edx, dword [ebp + 0x11c]
mov dword [edx + 0xdc], edi
mov ecx, dword [ebp + 0x20]
call fcn.300f94d0
mov eax, dword [ebp + 0x11c]
mov byte [ebp + 0x3ac9], 0
mov ecx, dword [eax + 0x1c]
push str.combinePackets
call fcn.300ed720
test eax, eax
je 0x301373d9
mov edi, dword [eax]
mov esi, edi
mov edx, esi
and edx, 7
cmp edx, 7
jne 0x30137359
and esi, 0xfffffff8
mov esi, dword [esi + 0xc]
mov edx, esi
and edx, 7
cmp edx, 2
jne 0x30137363
and esi, 0x1f
mov edx, esi
cmp edx, 0x12
jne 0x3013738a
mov eax, edi
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x3013737a
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test eax, 0xffffffe0
setne dl
mov byte [ebp + 0x3ac9], dl
jmp 0x301373d9
mov esi, edi
mov edx, esi
and edx, 7
cmp edx, 7
jne 0x301373a1
and esi, 0xfffffff8
mov esi, dword [esi + 0xc]
mov edx, esi
and edx, 7
cmp edx, 2
jne 0x301373ab
and esi, 0x1f
mov edx, esi
test edx, edx
je 0x301373b4
cmp edx, 1
jne 0x301373d9
mov ecx, eax
call fcn.30005a90
fld qword [0x30293678]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x301373d1
mov eax, 1
jmp 0x301373d3
xor eax, eax
mov byte [ebp + 0x3ac9], al
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
push str.fpadPort
mov dword [esp + 0x1c], 0x43
call fcn.300ed720
test eax, eax
je 0x30137455
mov edx, dword [eax]
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30137411
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x3013741b
and ecx, 0x1f
mov eax, ecx
test eax, eax
je 0x30137424
cmp eax, 1
jne 0x30137455
mov eax, edx
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x30137436
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test al, 7
je 0x30137441
and eax, 0xfffffff8
fld qword [eax]
jmp 0x3013744c
sar eax, 3
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
call fcn.3002ddb0
mov dword [esp + 0x18], eax
mov edx, dword [ebp + 0x11c]
mov ecx, dword [edx + 0x1c]
push 0x3029bf30
xor edi, edi
call fcn.300ed720
test eax, eax
je 0x301374a2
mov esi, dword [eax]
mov edx, esi
and edx, 7
cmp edx, 7
jne 0x30137485
and esi, 0xfffffff8
mov esi, dword [esi + 0xc]
mov edx, esi
and edx, 7
cmp edx, 2
jne 0x3013748f
and esi, 0x1f
mov edx, esi
cmp edx, 4
je 0x30137499
cmp edx, 5
jne 0x301374a2
mov ecx, eax
call fcn.300ba450
mov edi, eax
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
push str.fpadZone
xor esi, esi
call fcn.300ed720
test eax, eax
je 0x30137516
mov edx, dword [eax]
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x301374d4
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x301374de
and ecx, 0x1f
mov eax, ecx
test eax, eax
je 0x301374e7
cmp eax, 1
jne 0x30137516
mov eax, edx
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x301374f9
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test al, 7
je 0x30137504
and eax, 0xfffffff8
fld qword [eax]
jmp 0x3013750f
sar eax, 3
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
call fcn.3002ddb0
mov esi, eax
mov eax, dword [ebp + 0x11c]
xor edx, edx
test eax, eax
mov byte [esp + 0x13], 1
je 0x30137537
mov eax, dword [eax + 0x74]
test eax, eax
je 0x30137537
mov ecx, eax
call fcn.3001f7d0
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x13]
push eax
push edx
mov edx, dword [ecx + 0xf80]
push edx
call fcn.300058d0
mov al, byte [esp + 0x13]
test al, al
jne 0x30137557
or esi, 0xffffffff
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
xor bl, bl
push str.fpadOnly
mov byte [esp + 0x18], bl
call fcn.300ed720
test eax, eax
je 0x30137627
mov edx, dword [eax]
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30137591
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x3013759b
and ecx, 0x1f
mov eax, ecx
cmp eax, 0x12
jne 0x301375bc
mov eax, edx
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x301375b2
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test eax, 0xffffffe0
setne bl
jmp 0x30137623
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x301375d3
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x301375dd
and ecx, 0x1f
mov eax, ecx
test eax, eax
je 0x301375e6
cmp eax, 1
jne 0x30137627
mov eax, edx
and edx, 7
cmp dl, 7
jne 0x301375f6
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test al, 7
je 0x30137601
and eax, 0xfffffff8
fld qword [eax]
jmp 0x3013760c
sar eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld qword [0x30293678]
fxch st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x30137621
mov bl, 1
jmp 0x30137623
xor bl, bl
mov byte [esp + 0x14], bl
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0x1c]
neg bl
push str.fpadWait
sbb ebx, ebx
and ebx, 0x96
add ebx, 0x64
call fcn.300ed720
test eax, eax
je 0x301376a6
mov edx, dword [eax]
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30137664
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x3013766e
and ecx, 0x1f
mov eax, ecx
test eax, eax
je 0x30137677
cmp eax, 1
jne 0x301376a6
mov eax, edx
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x30137689
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
test al, 7
je 0x30137694
and eax, 0xfffffff8
fld qword [eax]
jmp 0x3013769f
sar eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
call fcn.3002ddb0
mov ebx, eax
push 0x24
call fcn.3007a1f0
add esp, 4
test eax, eax
je 0x301376dd
mov edx, dword [esp + 0x14]
movzx ecx, word [esp + 0x18]
push ebx
push edx
mov edx, dword [esp + 0x34]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebp
mov ecx, eax
call fcn.301348c0
mov esi, eax
jmp 0x301376df
xor esi, esi
push edi
call fcn.30208320
add esp, 4
push 0
push 0
push esi
push 0x30137180
lea ecx, [ebp + 0xa68]
call fcn.30156e80
mov ecx, dword [ebp + 0xa94]
test ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
je 0x30137710
call fcn.30156dd0
mov eax, 1
add esp, 0x10
ret 0xc
mov eax, dword [ecx + 0xd0]
test eax, eax
jne 0x30145c1c
mov eax, dword [ecx + 0xd4]
test eax, eax
jne 0x30145c1c
mov ecx, dword [ecx + 0x78]
jmp 0x301371d0
mov eax, 1
ret 0xc