Function at 0x420c70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0a36
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x50c7c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1f4], 0
cmp dword [edi + 0x10], 0
jne 0x420cdb
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x4ef4d1
mov byte [esi], 0
call fcn.00403860
jmp 0x420eed
sub esp, 8
lea ecx, [ebp - 0x2ac]
call fcn.00407790
mov edx, str.appkey
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00403cd0
mov edx, edi
mov ecx, eax
call fcn.0040a2f0
mov edx, str.clientId
lea ecx, [ebp - 0x29c]
call fcn.00403cd0
mov edx, 0x512b20
mov ecx, eax
call fcn.0040a2f0
mov edx, str.cversion
lea ecx, [ebp - 0x29c]
call fcn.00403cd0
mov edx, 0x512bf4
mov ecx, eax
call fcn.0040a2f0
mov edx, str.uversion
lea ecx, [ebp - 0x29c]
call fcn.00403cd0
mov edx, ebx
mov ecx, eax
call fcn.0040a2f0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.004078f0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x1ec]
xor bl, bl
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov byte [ebp - 0x1ed], bl
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x18
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str._cic_config_getConfig.do
mov byte [ecx], 0
call fcn.00403860
lea eax, [ebp - 0x5c]
push eax
call fcn.00430090
mov edi, eax
cmp edi, 0x512b38
je 0x420e18
cmp dword [0x512b4c], 0x10
jb 0x420df2
push dword [0x512b38]
call fcn.004a78e3
add esp, 4
push edi
mov ecx, 0x512b38
mov dword [0x512b4c], 0xf
mov dword [0x512b48], 0
mov byte [0x512b38], 0
call fcn.00403310
cmp dword [ebp - 0x48], 0x10
jb 0x420e29
push dword [ebp - 0x5c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [0x512b4c], 0x10
jb 0x420e49
mov ecx, dword [0x512b38]
test ecx, ecx
je 0x420e67
jmp 0x420e4e
mov ecx, 0x512b38
lea edx, [ebp - 0x2c]
push edx
push str.uestatus
push 0x75
push str.deviceType:_PC_nbodyEncode:_utf_8_nencrypt:_default_ncompress:_default_nContent_Type:_application_x_www_form_urlencoded_r_n
push dword [ebp - 0x34]
push eax
call fcn.00431e20
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00403090
test bl, bl
je 0x420e7c
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 0x18], 0x10
jb 0x420e8d
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x420eb0
push dword [ebp - 0x44]
call fcn.004a78e3
add esp, 4
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00407840
lea eax, [ebp - 0x244]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004a6211
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a6d1e
mov esp, ebp
pop ebp
ret 0xc