Function at 0x447a63
Capabilities:
Create tcp socket
Create thread

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x6c], 0xffffffff
mov byte [esi + 0x76], 1
je 0x446f61
xor eax, eax
pop esi
ret
call fcn.00446b20
test eax, eax
jne 0x446fc9
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x6c], eax
jne 0x446f8d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x446fc9
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi + 0x68]
push 0
push 0x81da
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x446f7e
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x446fb0
test eax, eax
jne 0x446fc0
mov eax, dword [esi + 0x88]
push eax
mov eax, esi
call fcn.00447050
pop esi
ret
lea edx, [esi + 0x54]
push edx
call fcn.00446fd0
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 0x447a79
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call fcn.00446b20
test eax, eax
jne 0x447a73
lea eax, [esi + 8]
push eax
lea edx, [esi + 4]
push edx
lea ebx, [esi + 0x10]
lea ecx, [esi + 0xc]
push ebx
call fcn.0044b990
add esp, 0xc
test eax, eax
mov dword [esi + 0x14], eax
jne 0x447b17
mov edi, 1
push 0x4d6bc8
mov dword [esi + 0x90], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 0x98], edi
mov eax, dword [0x4d6bc8]
push esi
push eax
push 0x41d
push str.CAsyncTcpClient::Connect_AutoCheckProxy
call fcn.004467f0
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
push 0
lea ecx, [esi + 0x24]
push ecx
lea edx, [esi + 0x3c]
push edx
push esi
call fcn.00447f40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x446f50
cmp eax, 2
jne 0x447cad
xor ecx, ecx
cmp dword [esi + 0x9c], ecx
push esi
setne cl
add ecx, eax
mov dword [esi + 0x90], ecx
mov edi, dword [0x4d6bc8]
mov eax, edi
cdq
idiv ecx
push edi
push 0x42d
push str.CAsyncTcpClient::Connect_AutoCheckProxy
mov ebp, edx
call fcn.004467f0
add esp, 0x10
cmp dword [esi + 0x9c], 0
je 0x447c4f
push esi
call fcn.004467d0
cmp dword [esi + 0x9c], 0
je 0x447c4f
mov eax, ebp
sub eax, 0
je 0x447c0d
sub eax, 1
je 0x447bce
sub eax, 1
jne 0x447cf8
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.00447f40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x446f50
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.004050b0
add eax, 0x10
mov dword [edi], eax
call fcn.00446db0
push 1
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.00447f40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x446f50
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
push 0
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x3c]
push eax
push esi
call fcn.00447f40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x447d70
sub ebp, 0
je 0x447c6b
sub ebp, 1
jne 0x447cf8
mov edi, dword [esi + 0x7c]
push ebp
push ecx
mov dword [esp + 0x18], esp
jmp 0x447adf
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [esi + 0x3c]
push ecx
push esi
call fcn.00447f40
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x447d70
mov dword [esi + 0x90], 2
mov eax, dword [0x4d6bc8]
mov edi, eax
and edi, 0x80000001
jns 0x447ccb
dec edi
or edi, 0xfffffffe
inc edi
push esi
push eax
push 0x47a
push str.CAsyncTcpClient::Connect_AutoCheckProxy
call fcn.004467f0
add esp, 0x10
cmp dword [esi + 0x9c], 0
je 0x447cee
push esi
call fcn.004467d0
sub edi, 0
je 0x447d38
sub edi, 1
je 0x447d06
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x447d70
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x446f50
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.00413a20
add eax, 0x10
push esi
mov ecx, edi
mov dword [ebx], eax
call fcn.00446d20
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x447d70
push ecx
push esi
mov esi, eax
push edi
xor edi, edi
cmp dword [esi + 0x6c], 0xffffffff
mov byte [esi + 0x76], 1
je 0x447d87
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.00446b20
cmp eax, edi
jne 0x447e0b
lea eax, [esi + 8]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esi + 0x10]
push edx
lea ecx, [esi + 0xc]
call fcn.0044b990
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x14], eax
jne 0x447dba
pop edi
mov eax, esi
pop esi
add esp, 4
jmp 0x446f50
call fcn.004477f0
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x447e10
push edi
push edi
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x447e03
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x70]
cmp eax, 0xbb8
ja 0x447dec
mov eax, 0xbb8
mov ecx, dword [esi + 0x68]
push edi
push eax
push 0x1399
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
pop edi
pop esi
pop ecx
ret