Function at 0x416f50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cecce
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
mov dword [esi], vtable.winhttp::client_class_winhttp::memory_receive_buffer_.0
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 4]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 8]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0xc]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x10]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x14]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x18]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xf
mov eax, vtable.winhttp::handle.0
xor ebx, ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov edx, 0x11
mov byte [ebp - 4], dl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 0x12
fld dword [0x4e800c]
lea ecx, [esi + 0x40]
fstp dword [ecx + 0xc]
mov dword [ecx], ebx
fld dword [0x4e8008]
mov dword [ecx + 4], ebx
fstp dword [ecx + 0x10]
mov dword [ecx + 8], edx
fld dword [0x4e8004]
mov dword [ecx + 0x18], 0xffffffff
fstp dword [ecx + 0x14]
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
call fcn.0042d520
mov byte [ebp - 4], 0x13
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00412bf0
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
mov dword [esi + 0x1c], ecx
push edx
lea ecx, [esi + 8]
call fcn.00412bf0
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0xc]
call fcn.00412bf0
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.00412bf0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x1c]
mov edi, dword [edi]
push ebx
push eax
push ecx
push edx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x417114
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x3c], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41713a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41715d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41717f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14