Function at 0x43eb60
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x591d00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x60fe70]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x60fe70]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43ebc1
push eax
call edi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43ebd2
push eax
call edi
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x43ebe3
push eax
call edi
mov dword [esi + 0xc], 0
push 0
push 0
push 0
push 0
push 0x5f0b00
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x43ec0e
mov dword [esi + 0x84], 1
xor al, al
jmp 0x43ed8f
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x64], 1
push eax
lea edx, [esp + 0x40]
call fcn.0043c0f0
mov ecx, dword [esp + 0x1c]
mov eax, 0x1bb
add esp, 8
cmp cx, ax
jne 0x43ec7d
mov byte [esi + 8], 1
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push 0
cmovae eax, dword [esp + 0x3c]
push ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [esi + 0x10], edx
test edx, edx
jne 0x43ecb2
mov dword [esi + 0x84], 2
xor bl, bl
jmp 0x43ed50
xor ecx, ecx
mov eax, 0x800000
cmp byte [esi + 8], cl
cmovne ecx, eax
cmp dword [esp + 0x34], 8
push ecx
push 0
push 0
push 0
lea eax, [esp + 0x30]
mov ecx, 0x5f0ab0
cmovae eax, dword [esp + 0x30]
cmp dword [ebp + 0xc], 0
push eax
mov eax, 0x5f0aa8
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x14], eax
test eax, eax
je 0x43ed40
cmp byte [esi + 8], 0
je 0x43ed13
push 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x3301
push ecx
push 0x1f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.0043edb0
test al, al
jne 0x43ed31
mov dword [esi + 0x84], 3
xor bl, bl
jmp 0x43ed50
push 0
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43ed4e
mov dword [esi + 0x84], 1
xor bl, bl
jmp 0x43ed50
mov bl, 1
cmp dword [esp + 0x34], 8
jb 0x43ed63
push dword [esp + 0x20]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x43ed8d
push dword [esp + 0x38]
call fcn.00481ffe
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00555894
mov esp, ebp
pop ebp
ret 0x10