Function at 0x455120
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6938
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x521104]
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 edi, ecx
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 4], 1
call fcn.00455040
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00455b30
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [edi + 8]
call fcn.00455b30
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.0042a980
mov dword [ebp - 0x30], eax
lea edx, [esi + 0x34]
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x45519c
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x78]
call fcn.004191f0
add esp, 8
mov byte [ebp - 4], 3
lea edx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
push 0xfde9
cmovae edx, dword [ebp - 0x78]
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.00419030
add esp, 0xc
push dword [ebp - 0x30]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0044c6e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x45521e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x455214
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455412
push ecx
push edx
call fcn.004a38d3
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x78]
call fcn.0040a450
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x455273
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x455269
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455412
push ecx
push edx
call fcn.004a38d3
add esp, 8
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
jb 0x455293
mov esi, dword [esi]
push 5
push str.https
mov ecx, esi
call fcn.0042af90
movzx esi, al
lea edx, [ebp - 0x28]
shl esi, 0x17
lea ecx, [ebp - 0x48]
or esi, 0x40
cmp dword [ebp - 0x14], 0x10
push 0xfde9
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
call fcn.004191f0
add esp, 0x10
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
cmp dword [ebx + 0x14], 8
jb 0x4552db
mov ebx, dword [ebx]
push esi
push 0
push 0
push 0
push eax
push ebx
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x48]
mov dword [edi + 0x10], eax
call fcn.0040a450
mov eax, dword [edi + 0x10]
test eax, eax
je 0x455417
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push ecx
push 0x2d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x455439
push 0
push 0xffffffffffffffff
push 0x455cc0
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x45545b
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x45536c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x455362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45547d
push ecx
push edx
call fcn.004a38d3
add esp, 8
mov edi, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x4553bb
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4553bb
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, edi
call esi
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4553bb
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4553f4
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4553f4
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x4553f4
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4ed33c]
mov ecx, edi
call esi
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.004a389b
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b013f
push str.Unable_to_initialize_WinHTTP_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00491170
push 0x51dce8
lea eax, [ebp - 0x44]
push eax
call fcn.004a629b
push str.Unable_to_set_WinHTTP_context_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00491170
push 0x51dce8
lea eax, [ebp - 0x44]
push eax
call fcn.004a629b
push str.Unable_to_set_WinHTTP_status_callback_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00491170
push 0x51dce8
lea eax, [ebp - 0x44]
push eax
call fcn.004a629b
call fcn.004b013f
int3