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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880c1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b01a8]
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 ebx, ecx
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov dword [ebp - 4], 0
mov word [ebx], ax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov eax, dword [0x4b5a9c]
mov byte [ebp - 4], 4
test eax, eax
jne 0x41eef3
push eax
push eax
push eax
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, 0x4b5a9c
xchg dword [ecx], eax
mov eax, dword [0x4b5a9c]
test eax, eax
je 0x41f0cb
mov eax, dword [0x4b5a9c]
push 0
push dword [ebp + 0x34]
push esi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x41f0ac
cmp edi, 0xffffffff
je 0x41f0ac
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x41f08d
cmp esi, 0xffffffff
je 0x41f08d
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x41ef62
xor eax, eax
jmp 0x41ef6d
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push 0
push ecx
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x70]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x41f08d
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41f045
lea ecx, [ebp - 0x45]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d800
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x44]
mov byte [ebp - 4], 8
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x28]
push edi
call fcn.0040b5d0
mov byte [ebp - 4], 7
test edi, edi
je 0x41f03b
mov ecx, dword [ebp - 0x74]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x41f01c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f124
push ecx
push edi
call fcn.00462f7f
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x44], 0
ja 0x41efa5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043a540
add esp, 8
mov ecx, ebx
push eax
call fcn.00422470
lea ecx, [ebp - 0x40]
call fcn.00409610
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x30]
call fcn.00422280
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x34]
call fcn.00422280
lea ecx, [ebp - 0x28]
call fcn.004095c0
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
jmp 0x41f096
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 9
test esi, esi
je 0x41f0b5
cmp esi, 0xffffffff
je 0x41f0b5
push esi
call dword [0x490894]
jmp 0x41f0b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 0xa
test edi, edi
je 0x41f0d4
cmp edi, 0xffffffff
je 0x41f0d4
push edi
call dword [0x490894]
jmp 0x41f0d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x2c]
cmp edx, 0x10
jb 0x41f104
mov ecx, dword [ebp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f0fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f124
push edx
push ecx
call fcn.00462f7f
add esp, 8
mov eax, ebx
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.00462f8d
mov esp, ebp
pop ebp
ret 0x40
call fcn.00468719
int3