Function at 0x44d0b0
Capabilities:
Check http status code
Create http request
Get http content length

Disassembly:
push 0xffffffffffffffff
push 0x5dc950
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x1c], edi
mov ebx, 4
push ebx
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x80], ebp
push edi
mov dword [esp + 0x30], 0xbb8
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [esi + 0x18], 8
jb 0x44d11a
mov eax, dword [esi + 4]
jmp 0x44d11d
lea eax, [esi + 4]
push ebp
push 0x400000
push 0xffffffffffffffff
push ebp
push eax
push edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x74], 1
cmp esi, ebp
mov ebp, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [esp + 0x24], ebx
je 0x44d163
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x20000013
push esi
call ebp
cmp dword [esp + 0x28], 0xc8
je 0x44d188
test esi, esi
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x44d17a
push esi
call ebp
test edi, edi
je 0x44d181
push edi
call ebp
xor al, al
jmp 0x44d33c
mov esi, dword [esp + 0x7c]
mov al, byte [esi + 0x200]
test al, al
mov eax, dword [esp + 0x30]
je 0x44d1b9
test eax, eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x44d1a7
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44d1b2
push eax
call esi
xor al, al
jmp 0x44d33c
test eax, eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebx
je 0x44d1eb
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000005
push eax
call ebp
test eax, eax
setne al
test al, al
jne 0x44d208
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x44d2ee
mov bl, 1
mov dword [esp + 0x18], 0xa00000
jmp 0x44d20c
mov bl, byte [esp + 0x17]
mov al, byte [esi + 0x200]
test al, al
jne 0x44d2ee
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x44d22a
test bl, bl
je 0x44d2ee
mov ebp, dword [esp + 0x80]
lea edi, [eax + 1]
mov esi, ebp
call fcn.0042dd60
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x3c]
call fcn.0042c830
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
add ecx, 1
push ecx
push 0
push edx
call fcn.005be600
mov eax, dword [esp + 0x54]
add esp, 0xc
xor edi, edi
cmp eax, dword [esp + 0x18]
jae 0x44d2d0
lea ebx, [ebx]
mov ecx, dword [esp + 0x7c]
mov dl, byte [ecx + 0x200]
test dl, dl
jne 0x44d2d0
test bl, bl
mov ecx, dword [esp + 0x48]
mov edx, 0x1000
jne 0x44d297
mov eax, dword [esp + 0x18]
sub eax, ecx
cmp eax, edx
jae 0x44d297
mov edx, eax
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
lea esi, [esp + 0x40]
lea eax, [esp + 0x34]
call fcn.00464620
cmp eax, 0xffffffff
je 0x44d2d0
test eax, eax
jne 0x44d2c6
test bl, bl
jne 0x44d2d0
push 0xa
call sub.KERNEL32.dll_Sleep
add edi, 1
cmp edi, 3
ja 0x44d2d0
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x18]
jb 0x44d270
mov ecx, dword [esp + 0x7c]
mov dl, byte [ecx + 0x200]
test dl, dl
jne 0x44d2ee
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
cmp ecx, eax
je 0x44d30a
test bl, bl
jne 0x44d30e
lea esi, [esp + 0x30]
call fcn.004645f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44d306
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x44d33c
test bl, bl
je 0x44d319
mov eax, dword [esp + 0x84]
mov dword [eax], ecx
jmp 0x44d322
mov ecx, dword [esp + 0x84]
mov dword [ecx], eax
lea esi, [esp + 0x30]
call fcn.004645f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44d33a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0xc