Function at 0x43cc70
Capabilities:
Initialize winsock library
Query environment variable

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x1b0], eax
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1bc]
push ebx
push ebp
mov ebp, dword [esp + 0x1cc]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1d0]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1d4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 8], ebx
push esi
push edi
test edx, edx
je 0x43d1f0
test eax, eax
mov ecx, 0x479390
cmovne ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [0x555e60], ebx
jne 0x43cd70
lea eax, [esp + 0x30]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43cd65
cmp dword [0x555e64], ebx
jne 0x43cd5b
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push str.no_proxy
mov dword [0x555e68], 0x50
call esi
add esp, 4
test eax, eax
je 0x43cd36
cmp byte [eax], 0x2a
jne 0x43cd36
cmp byte [eax + 1], bl
je 0x43cd5b
push str.http_proxy
call esi
add esp, 4
test eax, eax
jne 0x43cd52
push str.HTTP_PROXY
call esi
add esp, 4
test eax, eax
je 0x43cd5b
push eax
call fcn.0043de60
add esp, 4
mov dword [0x555e60], 1
mov edx, dword [esp + 0x18]
nop dword [eax]
test ebx, ebx
jne 0x43cd89
push edx
call fcn.0043d220
mov esi, eax
add esp, 4
test esi, esi
je 0x43d1f0
jmp 0x43cda9
push ebx
call fcn.0043d220
mov esi, eax
add esp, 4
test esi, esi
je 0x43d1f0
push ebx
call dword [0x554398]
add esp, 4
mov dword [esi + 0x4c], eax
mov eax, dword [esi]
test eax, eax
je 0x43d1c8
mov ecx, str.http
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43cdd8
test dl, dl
je 0x43cdd4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43cdd8
add eax, 2
add ecx, 2
test dl, dl
jne 0x43cdb8
xor eax, eax
jmp 0x43cddd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43d1c8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43d1bc
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43cdf5
mov eax, dword [0x555e64]
sub edi, edx
test eax, eax
je 0x43ce17
push dword [0x555e68]
lea edi, [edi*2 + 0x10]
push eax
jmp 0x43ce1b
push dword [esi + 8]
push ecx
call fcn.0043c9b0
add esp, 8
cmp eax, 0xffffffff
je 0x43d1b1
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x14], eax
xor eax, eax
test ecx, ecx
cmovne eax, dword [esp + 0x1e0]
mov dword [esp + 0x1e0], eax
lea eax, [edi + 0x24]
cmovne edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43ce6e
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ce60
sub ecx, edx
add edi, 2
add edi, ecx
test ebp, ebp
je 0x43ce8e
mov ecx, dword [ebp]
test ecx, ecx
je 0x43ce8e
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ce80
sub ecx, edx
add edi, 0x10
add edi, ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43cea4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ce98
sub ecx, edx
inc edi
add edi, ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ceb0
sub ecx, edx
mov edx, dword [esi + 0xc]
lea ebx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x43cec0
sub edx, ebx
lea ebp, [ecx + 0x2f]
add ebp, edx
add ebp, edi
cmp dword [esi + 8], 0x50
je 0x43cee7
cmp dword [0x555e64], 0
je 0x43cee4
add ebp, 0xc
jmp 0x43cee7
add ebp, 6
push ebp
call dword [0x55438c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43d194
cmp dword [0x555e64], 0
mov eax, dword [esi + 0xc]
push eax
je 0x43cf40
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
cmp ecx, 0x50
je 0x43cf2a
push ecx
push edx
push dword [esp + 0x20]
push str._s_http:___s:_d_s
push ebp
push ebx
call fcn.0040a4c0
add esp, 0x1c
jmp 0x43cf53
push edx
push dword [esp + 0x1c]
push str._s_http:___s_s
push ebp
push ebx
call fcn.0040a4c0
add esp, 0x18
jmp 0x43cf53
push dword [esp + 0x18]
push str._s__s
push ebp
push ebx
call fcn.0040a4c0
add esp, 0x14
lea edi, [ebx + eax]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43cf75
push eax
mov eax, ebx
sub eax, edi
push 0x479414
add eax, ebp
push eax
push edi
call fcn.0040a4c0
add esp, 0x10
add edi, eax
mov edx, dword [esi + 8]
mov eax, ebx
mov ecx, dword [esi + 4]
sub eax, edi
add eax, ebp
cmp edx, 0x50
jne 0x43cf98
push ecx
push str._HTTP_1.0_r_nHost:__s_r_n
push eax
push edi
call fcn.0040a4c0
add esp, 0x10
jmp 0x43cfa9
push edx
push ecx
push str._HTTP_1.0_r_nHost:__s:_d_r_n
push eax
push edi
call fcn.0040a4c0
add esp, 0x14
add edi, eax
mov eax, ebx
sub eax, edi
push str.Accept_Encoding:_gzip_r_n
add eax, ebp
push eax
push edi
call fcn.0040a4c0
add edi, eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43cfe8
mov eax, dword [eax]
test eax, eax
je 0x43cfe8
push eax
mov eax, ebx
sub eax, edi
push str.Content_Type:__s_r_n
add eax, ebp
push eax
push edi
call fcn.0040a4c0
add esp, 0x10
add edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43d008
push eax
mov eax, ebx
sub eax, edi
push 0x46bf5c
add eax, ebp
push eax
push edi
call fcn.0040a4c0
add esp, 0x10
add edi, eax
mov eax, ebx
sub eax, edi
add eax, ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x43d02e
push dword [esp + 0x1e0]
push str.Content_Length:__d_r_n_r_n
push eax
push edi
call fcn.0040a4c0
add esp, 0x10
jmp 0x43d03d
push 0x479490
push eax
push edi
call fcn.0040a4c0
add esp, 0xc
mov ecx, ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], 1
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d050
sub ecx, edx
push ecx
push ebx
push esi
call fcn.0043df30
add esp, 0xc
test ebp, ebp
je 0x43d079
push dword [esp + 0x1e0]
push ebp
push esi
call fcn.0043df30
add esp, 0xc
push esi
mov dword [esi + 0x18], 2
call fcn.0043d4e0
mov edi, eax
add esp, 4
test edi, edi
je 0x43d0c3
nop
cmp byte [edi], 0
push edi
je 0x43d0b4
push esi
call fcn.0043d9a0
push edi
call dword [0x554394]
push esi
call fcn.0043d4e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43d090
jmp 0x43d0c3
mov eax, dword [esi + 0x30]
mov dword [esi + 0x28], eax
call dword [0x554394]
add esp, 4
cmp dword [esi + 0x4c], 0
je 0x43d13f
mov eax, dword [esi + 0x3c]
sub eax, 0x12c
cmp eax, 0x63
ja 0x43d13f
push esi
call fcn.0043d770
add esp, 4
test eax, eax
jg 0x43d0d6
mov edi, dword [esp + 0x28]
cmp edi, 0xa
jge 0x43d124
mov eax, dword [esp + 0x10]
inc edi
mov dword [esp + 0x28], edi
test eax, eax
je 0x43d103
push eax
call dword [0x554394]
add esp, 4
push dword [esi + 0x4c]
call dword [0x554398]
mov ebx, eax
push esi
mov dword [esp + 0x18], ebx
call fcn.0043cb30
mov ebp, dword [esp + 0x24]
add esp, 8
jmp 0x43cd65
push esi
call fcn.0043cb30
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x43d1f0
push eax
jmp 0x43d1e7
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x43d162
mov eax, dword [esi + 0x48]
test eax, eax
je 0x43d15c
push eax
call dword [0x554398]
add esp, 4
mov dword [edi], eax
jmp 0x43d162
mov dword [edi], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x43d182
test eax, eax
je 0x43d178
mov dword [ecx], eax
mov eax, esi
jmp 0x43d1f2
mov dword [ecx], 0
mov eax, esi
jmp 0x43d1f2
test eax, eax
je 0x43d190
push eax
call dword [0x554394]
add esp, 4
mov eax, esi
jmp 0x43d1f2
push esi
call fcn.0043cb30
push str.allocating_header_buffer
push 0
push 0
push 2
push 0xa
call fcn.00427d00
add esp, 0x18
jmp 0x43d1f0
push esi
call fcn.0043cb30
add esp, 4
jmp 0x43d1e2
push str.Failed_to_identify_host_in_URI
push 0x7e6
jmp 0x43d1d2
push str.Not_a_valid_HTTP_URI
push 0x7e4
push 0xa
call fcn.004224c0
push esi
call fcn.0043cb30
add esp, 0x10
test ebx, ebx
je 0x43d1f0
push ebx
call dword [0x554394]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457db8
add esp, 0x1b4
ret