Function at 0x447160
Capabilities:
Access peb ldr_data
Read http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8ead
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x545100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx + 8]
cmp dword [eax + 0x2c], 0xf
lea edx, [eax + 0x18]
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x20], ecx
movzx ecx, word [eax + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], ecx
jbe 0x4471d0
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x38]
call fcn.0040ae00
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00446a20
lea ecx, [ebp - 0x38]
call fcn.0040a900
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
mov edi, dword [edi]
push 4
mov esi, dword [esi + 4]
push str.POST
sub esi, edi
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], eax
call fcn.0040ab20
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push esi
push edi
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x1c]
mov ecx, edi
push eax
push dword [ebp - 0x44]
call fcn.00446ae0
lea ecx, [ebp - 0x38]
call fcn.0040a900
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a900
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x447374
mov eax, dword [edi + 0x40]
xor esi, esi
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x4472c8
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0x20000013
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4472ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
cmove eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4472ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x447345
push 0xffffffffffffffff
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x447396
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x10]
call fcn.00447650
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0042bfc0
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x447343
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x447339
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4473b8
push ecx
push edx
call fcn.004a5ea3
add esp, 8
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
cmove eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5e3b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x34]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x34]
push eax
call fcn.004a869b
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x34]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x34]
push eax
call fcn.004a869b
call fcn.004b26bf
int3