Function at 0x464ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523a60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x587978]
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 [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
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.00423c60
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 0x464bb6
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 0x464bd6
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 0x464bf9
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 0x464c1c
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 [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
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 0x53ae0c
push eax
call fcn.00407500
mov ecx, dword [esi + 0x30]
add esp, 0x10
cmp dword [ecx - 0xc], 0
je 0x464c76
push ecx
lea eax, [ebp - 0x14]
push 0x533c34
push eax
call fcn.00411990
add esp, 0xc
cmp dword [esi + 0x28], 0
mov dword [ebp - 0x1c], 0
jbe 0x464db1
mov ebx, 0x533ed4
shr ebx, 0x10
mov dword [ebp - 0x20], ebx
jmp 0x464c97
mov ebx, dword [ebp - 0x20]
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov edi, dword [ebp - 0x28]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x16
test ebx, ebx
jne 0x464cf5
mov ecx, 0x533ed4
movzx ebx, cx
push 0
push ebx
call fcn.004062c0
add esp, 8
test eax, eax
je 0x464d04
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.00408e60
jmp 0x464d04
push 3
push 0x533ed4
lea ecx, [ebp - 0x10]
call fcn.004071a0
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.00426670
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 0x464d4c
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 0x464d6f
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 0x464d9b
mov eax, dword [eax + 0x64]
cmp eax, 0xc8
je 0x464dad
cmp eax, 0xce
je 0x464dad
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0x28]
jb 0x464c94
jmp 0x464db1
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 0x464de4
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 0x464e1d
lea ecx, [esi + 4]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x464e1d
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], edi
jne 0x464e1d
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