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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e430
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 0x18]
xor esi, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], edx
cmp eax, esi
je 0x42ea42
push eax
call ebx
mov dword [edi + 0x18], esi
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x42ea4f
push eax
call ebx
mov dword [edi + 0x14], esi
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x42ea5c
push eax
call ebx
mov dword [edi + 0x10], esi
push esi
push esi
push esi
mov esi, 1
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi + 0x10], eax
cmp eax, ebx
jne 0x42ea83
mov dword [edi + 8], 2
xor al, al
jmp 0x42ec0e
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push ecx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
call fcn.00409a70
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00409a70
push 0x3c
lea edx, [ebp - 0x94]
push ebx
push edx
mov byte [ebp - 4], 1
call fcn.00437410
mov ecx, dword [ebp - 0x54]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push ecx
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x64], esi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x42eb0a
mov dword [edi + 8], esi
lea ecx, [ebp - 0x2c]
call fcn.00409b30
lea ecx, [ebp - 0x48]
call fcn.00409b30
xor al, al
jmp 0x42ec0e
cmp dword [ebp - 0x88], 2
jne 0x42eb1a
mov dword [ebp - 0x4c], 0x800000
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
push edx
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d630
movzx ebx, word [ebp - 0x7c]
lea ecx, [ebp - 0x48]
call fcn.00409b80
mov ecx, dword [edi + 0x10]
push 0
push ebx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [edi + 0x14], eax
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x42eb6c
mov dword [edi + 8], 3
call fcn.00409b30
lea ecx, [ebp - 0x48]
call fcn.00409b30
xor al, al
jmp 0x42ec0e
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
push edx
push eax
call fcn.0040d630
lea ecx, [ebp - 0x2c]
call fcn.00409b80
mov ecx, 0x492450
cmp dword [ebp + 0x10], esi
je 0x42eb90
mov ecx, 0x492458
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0
push 0
push eax
mov eax, dword [edi + 0x14]
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [edi + 0x18], eax
test eax, eax
jne 0x42ebb9
mov dword [edi + 8], 2
jmp 0x42eaf3
mov ebx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
call fcn.0042ec30
test al, al
jne 0x42ebd4
mov dword [edi + 8], 4
jmp 0x42eaf3
mov ecx, dword [edi + 0x18]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea ecx, [ebp - 0x2c]
test eax, eax
jne 0x42ebff
mov dword [edi + 8], 2
call fcn.00409b30
lea ecx, [ebp - 0x48]
call fcn.00409b30
xor al, al
jmp 0x42ec0e
call fcn.00409b30
lea ecx, [ebp - 0x48]
call fcn.00409b30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret 0xc