Function at 0x4471d3
Capabilities:
Create tcp socket

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x6c], 0xffffffff
mov byte [esi + 0x76], 1
je 0x4466d1
xor eax, eax
pop esi
ret
call fcn.00446260
test eax, eax
jne 0x446739
push 6
push 1
push 2
call dword [0x531560]
cmp eax, 0xffffffff
mov dword [esi + 0x6c], eax
jne 0x4466fd
call dword [0x53157c]
test eax, eax
jne 0x446739
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi + 0x68]
push 0
push 0x81da
push ecx
push eax
call dword [0x53155c]
cmp eax, 0xffffffff
je 0x4466ee
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x446720
test eax, eax
jne 0x446730
mov eax, dword [esi + 0x88]
push eax
mov eax, esi
call fcn.004467c0
pop esi
ret
lea edx, [esi + 0x54]
push edx
call fcn.00446740
pop esi
ret
push ecx
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x6c], 0xffffffff
push edi
mov byte [esi + 0x76], 1
je 0x4471e9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call fcn.00446260
test eax, eax
jne 0x4471e3
lea eax, [esi + 8]
push eax
lea edx, [esi + 4]
push edx
lea ebx, [esi + 0x10]
lea ecx, [esi + 0xc]
push ebx
call fcn.004554f0
add esp, 0xc
test eax, eax
mov dword [esi + 0x14], eax
jne 0x447287
mov edi, 1
push 0x57667c
mov dword [esi + 0x90], edi
call dword [0x5312b4]
mov dword [esi + 0x98], edi
mov eax, dword [0x57667c]
push esi
push eax
push 0x41d
push str.CAsyncTcpClient::Connect_AutoCheckProxy
call fcn.00476640
mov edi, dword [esi + 0x7c]
add esp, 0x10
push 0
push ecx
mov dword [esp + 0x18], esp
mov eax, dword [esi + 0x78]
sub eax, 0x10
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
push 0
lea ecx, [esi + 0x24]
push ecx
lea edx, [esi + 0x3c]
push edx
push esi
call fcn.004476b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4466c0
cmp eax, 2
jne 0x44741d
xor ecx, ecx
cmp dword [esi + 0x9c], ecx
push esi
setne cl
add ecx, eax
mov dword [esi + 0x90], ecx
mov edi, dword [0x57667c]
mov eax, edi
cdq
idiv ecx
push edi
push 0x42d
push str.CAsyncTcpClient::Connect_AutoCheckProxy
mov ebp, edx
call fcn.00476640
add esp, 0x10
cmp dword [esi + 0x9c], 0
je 0x4473bf
push esi
call fcn.00445f20
cmp dword [esi + 0x9c], 0
je 0x4473bf
mov eax, ebp
sub eax, 0
je 0x44737d
sub eax, 1
je 0x44733e
sub eax, 1
jne 0x447468
mov edi, dword [esi + 0x7c]
push eax
mov eax, dword [esi + 0x78]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.004476b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4466c0
mov edx, dword [ebx]
mov eax, dword [esi + 0xc]
push 0
push edx
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004020b0
add eax, 0x10
mov dword [edi], eax
call fcn.00446520
push 1
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.004476b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4466c0
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
push 0
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x3c]
push eax
push esi
call fcn.004476b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4474e0
sub ebp, 0
je 0x4473db
sub ebp, 1
jne 0x447468
mov edi, dword [esi + 0x7c]
push ebp
push ecx
mov dword [esp + 0x18], esp
jmp 0x44724f
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.004476b0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4474e0
mov dword [esi + 0x90], 2
mov eax, dword [0x57667c]
mov edi, eax
and edi, 0x80000001
jns 0x44743b
dec edi
or edi, 0xfffffffe
inc edi
push esi
push eax
push 0x47a
push str.CAsyncTcpClient::Connect_AutoCheckProxy
call fcn.00476640
add esp, 0x10
cmp dword [esi + 0x9c], 0
je 0x44745e
push esi
call fcn.00445f20
sub edi, 0
je 0x4474a8
sub edi, 1
je 0x447476
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4474e0
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4466c0
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
push 0
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov ebx, esp
call fcn.004453f0
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446490
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x4474e0
push ecx
push esi
mov esi, eax
push edi
xor edi, edi
cmp dword [esi + 0x6c], 0xffffffff
mov byte [esi + 0x76], 1
je 0x4474f7
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.00446260
cmp eax, edi
jne 0x44757b
lea eax, [esi + 8]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esi + 0x10]
push edx
lea ecx, [esi + 0xc]
call fcn.004554f0
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x14], eax
jne 0x44752a
pop edi
mov eax, esi
pop esi
add esp, 4
jmp 0x4466c0
call fcn.00446f60
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x447580
push edi
push edi
mov dword [esi + 0x1c], edi
call dword [0x5312b8]
cmp eax, edi
je 0x447573
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x70]
cmp eax, 0xbb8
ja 0x44755c
mov eax, 0xbb8
mov ecx, dword [esi + 0x68]
push edi
push eax
push 0x1399
push ecx
call dword [0x5314a4]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [0x531310]
mov edi, eax
pop edi
pop esi
pop ecx
ret