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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472c11
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4941b8]
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 [0x499144]
mov byte [ebp - 4], 4
test eax, eax
jne 0x41f2a3
push eax
push eax
push eax
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, 0x499144
xchg dword [ecx], eax
mov eax, dword [0x499144]
test eax, eax
je 0x41f47b
mov eax, dword [0x499144]
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 0x41f45c
cmp edi, 0xffffffff
je 0x41f45c
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 0x41f43d
cmp esi, 0xffffffff
je 0x41f43d
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jne 0x41f312
xor eax, eax
jmp 0x41f31d
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 0x41f43d
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 0x41f3f5
lea ecx, [ebp - 0x45]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041dbb0
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.0040b830
mov byte [ebp - 4], 7
test edi, edi
je 0x41f3eb
mov ecx, dword [ebp - 0x74]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x41f3cc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4d4
push ecx
push edi
call fcn.004639cf
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x44], 0
ja 0x41f355
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043a8b0
add esp, 8
mov ecx, ebx
push eax
call fcn.00422830
lea ecx, [ebp - 0x40]
call fcn.00409870
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebx + 0x30]
call fcn.00422640
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x34]
call fcn.00422640
lea ecx, [ebp - 0x28]
call fcn.00409820
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
jmp 0x41f446
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 9
test esi, esi
je 0x41f465
cmp esi, 0xffffffff
je 0x41f465
push esi
call dword [0x47dd14]
jmp 0x41f465
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov byte [ebp - 4], 0xa
test edi, edi
je 0x41f484
cmp edi, 0xffffffff
je 0x41f484
push edi
call dword [0x47dd14]
jmp 0x41f484
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x2c]
cmp edx, 0x10
jb 0x41f4b4
mov ecx, dword [ebp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f4aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f4d4
push edx
push ecx
call fcn.004639cf
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.004639dd
mov esp, ebp
pop ebp
ret 0x40
call fcn.00465400
int3