Function at 0x4562b0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda25
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x505034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 1
call fcn.004561e0
mov edx, dword [esi + 4]
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [esi], eax
mov dword [ebp - 0x30], edx
mov dword [esi + 4], ecx
test edx, edx
je 0x456347
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x456347
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x456347
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [esi + 8], eax
mov dword [ebp - 0x30], edx
mov dword [esi + 0xc], ecx
test edx, edx
je 0x45638b
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x45638b
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x45638b
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x5c], 0
jne 0x4563c0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
mov eax, 1
jmp 0x4563d6
add eax, 0x4c
lea ecx, [ebp - 0x68]
push eax
call fcn.00454690
mov ecx, eax
add esp, 4
mov eax, 2
mov dword [ebp - 0x3c], 0
or eax, 4
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x45645c
mov edx, dword [ebp - 0x54]
and eax, 0xfffffffd
mov dword [ebp - 0x30], eax
cmp edx, 0x10
jb 0x45644a
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45643d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456807
push edx
push ecx
call fcn.00479e95
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 1
test al, 1
je 0x4564a1
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x4564a1
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456807
push edx
push ecx
call fcn.00479e95
add esp, 8
mov edx, dword [ebp - 0x34]
add edx, 0x34
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x4564b6
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0xb0]
call fcn.00422630
add esp, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
push 0xfde9
cmovae edx, dword [ebp - 0xb0]
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x80]
call fcn.004153f0
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
sub eax, ecx
mov edx, dword [ebp - 0x3c]
cmp edx, eax
jbe 0x45652d
mov eax, dword [ebp - 0x38]
sub eax, edx
cmp eax, ecx
jb 0x45652d
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
push ecx
cmovae eax, dword [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0042d6b0
jmp 0x456539
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x80]
call fcn.0042ddb0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov byte [eax], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4565a1
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45680c
push edx
push ecx
call fcn.00479e95
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x4565f7
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4565ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45680c
push edx
push ecx
call fcn.00479e95
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x45664c
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456642
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45680c
push edx
push ecx
call fcn.00479e95
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x45666c
mov eax, dword [eax]
push 5
push ecx
mov ecx, eax
call fcn.00454890
movzx eax, al
lea edx, [ebp - 0x28]
shl eax, 0x17
lea ecx, [ebp - 0x98]
or eax, 0x40
cmp dword [ebp - 0x14], 0x10
push 0xfde9
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.00422630
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x98]
add esp, 0x10
cmp dword [ebp - 0x84], 8
cmovae eax, dword [ebp - 0x98]
cmp dword [ecx + 0x14], 8
jb 0x4566c2
mov ecx, dword [ecx]
push dword [ebp - 0x30]
push 0
push 0
push 0
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x84]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x456719
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45670f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456811
push edx
push ecx
call fcn.00479e95
add esp, 8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x456816
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push ecx
push 0x2d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x456838
push 0
push 0xffffffffffffffff
push 0x4572b0
push dword [esi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x45685a
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45678d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45687c
push edx
push ecx
call fcn.00479e95
add esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x4567c5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4567c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4567c5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4567ea
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4567ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4567ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479e61
mov esp, ebp
pop ebp
ret 0x18
call fcn.0049b19a
call fcn.0049b19a
call fcn.0049b19a
push str.Unable_to_initialize_WinHTTP_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.0046c6b0
push 0x50271c
lea eax, [ebp - 0x64]
push eax
call fcn.00491d27
push str.Unable_to_set_WinHTTP_context_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.0046c6b0
push 0x50271c
lea eax, [ebp - 0x64]
push eax
call fcn.00491d27
push str.Unable_to_set_WinHTTP_status_callback_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.0046c6b0
push 0x50271c
lea eax, [ebp - 0x64]
push eax
call fcn.00491d27
call fcn.0049b19a
int3