Function at 0x430560
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2179
mov eax, dword fs:[0]
push eax
sub esp, 0x328
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 + 8]
mov dword [ebp - 0x26c], 0
cmp byte [ecx + 0x30], 0
mov dword [ebp - 0x280], edi
jne 0x4305ac
call fcn.004304a0
sub esp, 8
lea ecx, [ebp - 0x334]
call fcn.00407790
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00422f50
add esp, 8
mov esi, eax
mov edx, 0x4f75a8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x324]
call fcn.00403cd0
mov edx, esi
mov ecx, eax
call fcn.0040a2f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0x10
jb 0x430604
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x334]
call fcn.004078f0
lea ecx, [ebp - 0x44]
call fcn.004303f0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x25c]
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 - 0x265], bl
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 0x15
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str._cic_config_getCid.do
mov byte [ecx], 0
call fcn.00403860
lea eax, [ebp - 0x2c]
push eax
call fcn.00430090
mov esi, 0x512b68
mov dword [ebp - 0x260], eax
cmp eax, esi
je 0x4306d2
cmp dword [0x512b7c], 0x10
jb 0x4306af
push dword [0x512b68]
call fcn.004a78e3
mov eax, dword [ebp - 0x260]
add esp, 4
push eax
mov ecx, esi
mov dword [0x512b7c], 0xf
mov dword [0x512b78], 0
mov byte [0x512b68], 0
call fcn.00403310
cmp dword [ebp - 0x18], 0x10
jb 0x4306e3
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
push ecx
push 0
push 0x38
push str.WinhttpProxyClient.cpp
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], 0
call fcn.004a44e0
mov byte [ebp - 4], 6
mov edx, str.CGlobalConfig::instance__.cidserver.c_str___:
mov eax, dword [ebp - 0x260]
cmp dword [0x512b7c], 0x10
cmovae esi, dword [0x512b68]
mov ecx, dword [eax + 0x10]
call fcn.00403cd0
mov edx, esi
mov ecx, eax
call fcn.00403cd0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
call fcn.004a4a80
mov esi, dword [ebp - 0x264]
test esi, esi
je 0x430771
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x430768
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [0x512b7c], 0x10
jb 0x430791
mov ecx, dword [0x512b68]
test ecx, ecx
je 0x4307ac
jmp 0x430796
mov ecx, 0x512b68
lea edx, [ebp - 0x5c]
push edx
push 0
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 ecx, [ebp - 0xcc]
call fcn.004a02b0
and dword [ebp - 0x274], 0xfffffe00
mov dword [ebp - 0x270], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403430
cmp dword [ebp - 0x90], 0x10
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x27c]
cmovae ecx, dword [ebp - 0xa4]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xcc]
call fcn.004a03c0
test al, al
je 0x4308d1
push ecx
push str.response
lea ecx, [ebp - 0x27c]
call fcn.0049ec10
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0049e520
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, 2
mov esi, dword [ebp - 0x1c]
mov edx, 0x4ef9e8
cmovae ecx, dword [ebp - 0x2c]
cmp esi, eax
cmovb eax, esi
push eax
call fcn.0040b760
add esp, 4
test eax, eax
jne 0x4308bc
cmp esi, 2
jb 0x4308bc
cmp esi, 2
setne al
test eax, eax
jne 0x4308bc
push ecx
push 0x4f7610
lea ecx, [ebp - 0x27c]
call fcn.0049ec10
push edi
mov ecx, eax
call fcn.0049e520
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x26c], 1
jb 0x4308a8
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x4308fa
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0x10
jb 0x4308d1
push dword [ebp - 0x2c]
call fcn.004a78e3
add esp, 4
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x4ef4d1
mov byte [edi], 0
call fcn.00403860
mov dword [ebp - 0x26c], 1
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 7
call fcn.0049e3e0
lea ecx, [ebp - 0xcc]
call fcn.0040d630
test bl, bl
je 0x43091e
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp - 0x48], 0x10
jb 0x43092f
push dword [ebp - 0x5c]
call fcn.004a78e3
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
jb 0x430952
push dword [ebp - 0x44]
call fcn.004a78e3
add esp, 4
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0
call fcn.00407840
lea eax, [ebp - 0x2cc]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004a6211
mov eax, edi
add esp, 4
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 4