Function at 0x43c2cf
Capabilities:
Read http header

Disassembly:
push 0x240
mov eax, 0x475697
call fcn.00474165
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x230], edx
xor edx, edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x22c], edx
mov esi, edx
mov dword [ebp - 0x228], esi
mov edi, edx
mov dword [ebp - 0x234], edi
mov byte [ebp - 4], 5
test eax, eax
jne 0x43c374
push 0x4c1
mov eax, dword [ebx + 0x5c]
push 0x410998
mov dword [ebp - 0x21c], 0x80070057
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47d4cc]
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx + 0x5c]
call ebx
mov edx, 0x80070057
mov ecx, eax
call fcn.0044dc99
mov ebx, dword [ebp - 0x21c]
jmp 0x43c493
test ecx, ecx
jne 0x43c37f
push 0x4c2
jmp 0x43c335
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push edx
push edx
push 0x408f98
push eax
mov ecx, ebx
call fcn.0043b578
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x21c], eax
test eax, eax
jns 0x43c3bc
mov edx, dword [ebx + 0x5c]
push 0x4d0
mov esi, dword [edx + 4]
jmp 0x43c464
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x103
lea eax, [ebp - 0x240]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 5
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x43c414
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004263e0
mov dword [ebp - 0x21c], eax
push 0x4db
jmp 0x43c45e
push 0xa
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcstoui64]
mov ebx, dword [ebp - 0x220]
add esp, 0xc
mov esi, dword [ebx + 8]
push 0
push 0
push edx
mov ecx, dword [esi + 4]
push eax
call dword [0x47d4cc]
lea ecx, [ebx + 8]
call dword [esi + 4]
mov dword [ebp - 0x21c], eax
test eax, eax
jns 0x43c52a
mov ebx, dword [ebp - 0x224]
push 0x4e3
mov eax, dword [ebx + 0x5c]
mov esi, dword [eax + 4]
push 0x410998
mov ecx, esi
call dword [0x47d4cc]
lea ecx, [ebx + 0x5c]
call esi
mov ebx, dword [ebp - 0x21c]
mov ecx, eax
mov edx, ebx
call fcn.0044dc99
test ebx, ebx
jns 0x43c52a
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x220]
push 0
push ebx
mov eax, dword [eax + 8]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x47d4cc]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx + 8]
call ebx
test eax, eax
js 0x43c507
mov eax, dword [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x238], ecx
test eax, eax
je 0x43c507
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x23c]
push ecx
push 0x10001
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x47d4cc]
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + 8]
call ebx
mov ecx, dword [ebp - 0x220]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x47d4cc]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx + 8]
call ebx
jmp 0x43c530
mov esi, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x21c]
mov ecx, ebx
call fcn.004298d9
test edi, edi
je 0x43c548
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
je 0x43c553
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x43c568
push dword [ebp - 0x22c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
call fcn.00474119
ret 0xc