Function at 0x5920a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e54a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov ebx, dword [ebp + 8]
push 6
push str.Host:
mov eax, ebx
call fcn.004320d0
push 0
lea eax, [edi + 0x6dc]
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.00432230
cmp byte [edi + 0x744], 0
jne 0x59210e
mov ecx, dword [edi + 0x138]
cmp byte [ecx + 0x2b1], 0
je 0x592130
push 0xe
push str._r_nUser_Agent:
mov eax, ebx
call fcn.004320d0
mov eax, dword [edi + 0x138]
add eax, 0x64
push 0
push eax
or eax, 0xffffffff
call fcn.00432230
cmp dword [edi + 0x72c], 0
je 0x592152
push 0x11
push str._r_nAuthorization:
mov eax, ebx
call fcn.004320d0
push 0
lea edx, [edi + 0x718]
push edx
jmp 0x592172
cmp dword [edi + 0x6d4], 0
je 0x59217c
push 0x17
push str._r_nAuthorization:_Basic
mov eax, ebx
call fcn.004320d0
push 0
lea eax, [edi + 0x6c0]
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.00432230
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x58], 5
jne 0x592273
push 0x1d
push str._r_nProxy_Authorization:_Basic
mov eax, ebx
call fcn.004320d0
add esi, 0x20
push esi
mov edi, 0x611e7c
lea esi, [esp + 0x54]
call fcn.00442ba0
add esp, 4
mov ecx, dword [ebp + 0xc]
add ecx, 0x3c
push ecx
push eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x80], 0
call fcn.004c4df0
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x84], 1
call fcn.004b1140
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
mov byte [esp + 0x80], 2
call fcn.00432230
mov esi, 0x10
cmp dword [esp + 0x30], esi
jb 0x59220c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0059b877
add esp, 4
xor edi, edi
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
jb 0x592232
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
jb 0x59225e
mov edx, dword [esp + 0x54]
push edx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x68], 0xf
mov byte [esp + 0x54], 0
lea eax, [edi + 0x734]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
jbe 0x592290
call fcn.005b8b18
jmp 0x592290
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x73c]
add esi, 0x734
cmp dword [esi + 4], eax
mov dword [esp + 0x14], eax
jbe 0x5922ae
call fcn.005b8b18
cmp esi, esi
je 0x5922b7
call fcn.005b8b18
cmp edi, dword [esp + 0x14]
je 0x59232e
push 2
push 0x6150c0
mov eax, ebx
call fcn.004320d0
cmp edi, dword [esi + 8]
jb 0x5922d5
call fcn.005b8b18
push 0
push edi
or eax, 0xffffffff
mov esi, ebx
call fcn.00432230
push 2
push 0x611e78
mov eax, ebx
call fcn.004320d0
mov eax, dword [esp + 0x10]
add eax, 0x734
cmp edi, dword [eax + 8]
jb 0x592303
call fcn.005b8b18
push 0
lea eax, [edi + 0x1c]
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.00432230
mov eax, dword [esp + 0x10]
add eax, 0x734
cmp edi, dword [eax + 8]
jb 0x592326
call fcn.005b8b18
add edi, 0x38
jmp 0x592290
cmp byte [ebp + 0x10], 0
je 0x592342
push 0x1e
push str._r_nProxy_Connection:_keep_alive
mov eax, ebx
call fcn.004320d0
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x744], 0
jne 0x592355
cmp byte [ebp + 0x10], 0
je 0x592363
push 0x18
push str._r_nConnection:_keep_alive
mov eax, ebx
call fcn.004320d0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc