Function at 0x4747b0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6c01
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
call fcn.004746d0
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044e9a0
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [edi + 8]
call fcn.0044e9a0
cmp dword [esi + 0x5c], 0
jne 0x47483b
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
mov eax, 1
jmp 0x47487a
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x4c]
mov byte [ebp - 0x14], 0x3f
cmp ecx, 0x7fffffff
je 0x474bba
cmp dword [eax + 0x14], 0x10
jb 0x474859
mov eax, dword [eax]
push ecx
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0xb0]
call fcn.00473e00
lea ecx, [ebp - 0xb0]
mov eax, 0xa
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 4], 4
or eax, 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 3
test al, 2
je 0x4748f1
mov edx, dword [ebp - 0x9c]
and eax, 0xfffffffd
mov dword [ebp - 0x34], eax
cmp edx, 0x10
jb 0x4748f1
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4748e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474bbf
push edx
push ecx
call fcn.00484d63
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 4], 1
test al, 1
je 0x474930
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x474930
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474bbf
push edx
push ecx
call fcn.00484d63
add esp, 8
lea edx, [esi + 0x34]
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x474942
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x98]
call fcn.0040ec50
add esp, 8
mov byte [ebp - 4], 7
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
push 0xfde9
cmovae edx, dword [ebp - 0x98]
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x80]
call fcn.00412170
add esp, 0xc
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.0041d600
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4749d4
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4749ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474bbf
push edx
push ecx
call fcn.00484d63
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x98]
call fcn.004127e0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x474a29
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474bbf
push edx
push ecx
call fcn.00484d63
add esp, 8
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x474a34
mov esi, dword [esi]
push 5
push str.https
mov ecx, esi
call fcn.0042afc0
movzx esi, al
lea edx, [ebp - 0x2c]
shl esi, 0x17
lea ecx, [ebp - 0x68]
or esi, 0x40
cmp dword [ebp - 0x18], 0x10
push 0xfde9
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
call fcn.0040ec50
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
add esp, 0x10
cmp dword [ebp - 0x54], 8
cmovae ecx, dword [ebp - 0x68]
cmp dword [eax + 0x14], 8
jb 0x474a7f
mov eax, dword [eax]
push esi
push 0
push 0
push 0
push ecx
push eax
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x10], eax
call fcn.004127e0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x474bc4
push 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push ecx
push 0x2d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x474be6
push 0
push 0xffffffffffffffff
push 0x475370
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x474c08
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x474b10
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474b06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474c2a
push edx
push ecx
call fcn.00484d63
add esp, 8
mov edi, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test edi, edi
je 0x474b63
lock xadd dword [edi + 4], eax
jne 0x474b60
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x474b60
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or eax, 0xffffffff
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x474b9d
lock xadd dword [edi + 4], eax
jne 0x474b9d
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x474b9d
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
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.00484d55
mov esp, ebp
pop ebp
ret 0x18
call fcn.004123d0
call fcn.004a949f
push str.Unable_to_initialize_WinHTTP_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043e110
push 0x5057bc
lea eax, [ebp - 0x48]
push eax
call fcn.004a0209
push str.Unable_to_set_WinHTTP_context_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043e110
push 0x5057bc
lea eax, [ebp - 0x48]
push eax
call fcn.004a0209
push str.Unable_to_set_WinHTTP_status_callback_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043e110
push 0x5057bc
lea eax, [ebp - 0x48]
push eax
call fcn.004a0209
call fcn.004a949f
int3