Function at 0x4659d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x2c], vtable.winhttp::async_client.0
call fcn.00416160
add esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465ab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465ad6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0xe
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 0x465af9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
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 0x465b1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x98], eax
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push ecx
push edx
lea eax, [ebp - 0x14]
push 0x4f0f5c
push eax
call fcn.00407560
mov ecx, dword [esi + 0x30]
add esp, 0x10
cmp dword [ecx - 0xc], 0
je 0x465b76
push ecx
lea eax, [ebp - 0x14]
push 0x4e8074
push eax
call fcn.00412c60
add esp, 0xc
cmp dword [esi + 0x28], 0
mov dword [ebp - 0x1c], 0
jbe 0x465cb1
mov ebx, 0x4e808c
shr ebx, 0x10
mov dword [ebp - 0x20], ebx
jmp 0x465b97
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov edi, dword [ebp - 0x28]
mov ecx, 0x52ddd4
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x16
test ebx, ebx
jne 0x465bf5
mov ecx, 0x4e808c
movzx ebx, cx
push 0
push ebx
call fcn.004062c0
add esp, 8
test eax, eax
je 0x465c04
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00408ee0
jmp 0x465c04
push 3
push 0x4e808c
lea ecx, [ebp - 0x10]
call fcn.00407200
mov byte [ebp - 4], 0x17
push 0
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 4]
push eax
push 0
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call fcn.00417a50
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465c4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
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 0x465c6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x94]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x60], 0
jne 0x465c9b
mov eax, dword [eax + 0x64]
cmp eax, 0xc8
je 0x465cad
cmp eax, 0xce
je 0x465cad
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0x28]
jb 0x465b94
jmp 0x465cb1
mov byte [esi + 0x38], 1
mov edx, dword [esi + 0x1c]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465ce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], vtable.winhttp::async_client.0
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x465d1d
lea ecx, [esi + 4]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x465d1d
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], edi
jne 0x465d1d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret