Function at 0x441deb
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ca7
mov eax, dword fs:[0]
push eax
mov eax, 0x1190
call fcn.004cf860
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x1178], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x114c], eax
mov eax, dword [ebp + 0x10]
push ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x1160], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1150], eax
push 4
lea ecx, [ebp - 0x1154]
push ecx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 2
push eax
mov dword [ebp - 0x1154], 0x7d0
call esi
push 3
pop eax
push 4
lea ecx, [ebp - 0x1154]
push ecx
push eax
push dword [ebp - 0x1150]
mov dword [ebp - 0x1154], eax
call esi
push edi
lea esi, [ebp - 0x10b0]
call fcn.00401620
mov dword [ebp - 0x116c], ebx
mov dword [ebp - 0x1168], ebx
mov edi, 0x1048
xor ecx, ecx
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x1164], ebx
mov dword [ebp - 0x107c], 7
call fcn.00401870
push 0xc
mov byte [ebp - 4], 3
call fcn.004b6eb3
cmp eax, ebx
pop ecx
je 0x441eff
cmp dword [ebp - 0x1098], 8
mov ecx, dword [ebp - 0x10ac]
jae 0x441ee8
lea ecx, [ebp - 0x10ac]
push 0x200000
push ecx
push dword [ebp - 0x1150]
mov esi, eax
call fcn.0044ea6a
mov esi, eax
jmp 0x441f01
xor esi, esi
push esi
lea ecx, [ebp - 0x1154]
mov dword [ebp - 0x1158], esi
call fcn.00442887
push esi
lea eax, [ebp - 0x1158]
push esi
push eax
call fcn.00408810
mov esi, dword [ebp - 0x1158]
mov eax, dword [ebp - 0x116c]
mov ecx, dword [ebp - 0x1154]
mov dword [ebp - 0x1158], eax
mov eax, dword [ebp - 0x1168]
mov dword [ebp - 0x1154], eax
add esp, 0xc
lea eax, [ebp - 0x1154]
mov dword [ebp - 0x1198], esi
mov dword [ebp - 0x116c], esi
mov dword [ebp - 0x1168], ecx
call fcn.0040dc10
cmp esi, ebx
je 0x44203d
push esi
push 0x13
lea ecx, [ebp - 0x1164]
pop eax
call fcn.0044eaba
cmp dword [ebp - 0x1164], 0xc8
je 0x441f98
cmp dword [ebp - 0x1164], 0x12e
jne 0x44203d
push 0x1046
lea eax, [ebp - 0x105a]
push ebx
push eax
mov word [ebp - 0x105c], bx
call fcn.004b9920
add esp, 0xc
push edi
lea eax, [ebp - 0x105c]
push ebx
push eax
mov dword [ebp - 0x1174], edi
mov dword [ebp - 0x1170], ebx
call fcn.004b9920
add esp, 0xc
push esi
push 0x13
lea ecx, [ebp - 0x1164]
pop eax
call fcn.0044eaba
cmp dword [ebp - 0x1164], 0x12e
jne 0x44200a
lea eax, [ebp - 0x1170]
push eax
lea eax, [ebp - 0x1174]
push eax
lea eax, [ebp - 0x105c]
push eax
push 0x21
mov eax, esi
call fcn.0044eae1
lea eax, [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44207d
lea eax, [ebp - 0x10b0]
push eax
lea edx, [ebp - 0x105c]
call fcn.004074f0
lea esi, [ebp - 0x1094]
call fcn.00401650
jmp 0x441ea6
lea esi, [ebp - 0x1094]
call fcn.00401650
lea eax, [ebp - 0x1168]
mov byte [ebp - 4], 1
call fcn.0040dc10
lea esi, [ebp - 0x10b0]
call fcn.00401650
cmp dword [ebp - 0x1150], ebx
je 0x442076
push dword [ebp - 0x1150]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x442498
mov eax, dword [ebp - 0x114c]
cmp dword [eax + 0x14], ebx
jne 0x442189
push edi
lea eax, [ebp - 0x105c]
push ebx
push eax
mov dword [ebp - 0x1170], ebx
mov dword [ebp - 0x1174], edi
call fcn.004b9920
add esp, 0xc
lea eax, [ebp - 0x1170]
push eax
lea eax, [ebp - 0x1174]
push eax
lea eax, [ebp - 0x105c]
push eax
push 0x2f
mov eax, esi
call fcn.0044eae1
lea edx, [ebp - 0x105c]
lea eax, [ebp - 0x1078]
call fcn.004074b0
mov edi, str.filename
mov edx, edi
lea eax, [ebp - 0x1194]
mov byte [ebp - 4], 4
call fcn.004074b0
lea eax, [ebp - 0x1078]
push ebx
push eax
lea ecx, [ebp - 0x1194]
mov byte [ebp - 4], 5
call fcn.0042fc9e
pop ecx
pop ecx
lea esi, [ebp - 0x1194]
mov dword [ebp - 0x1154], eax
mov byte [ebp - 4], 4
call fcn.00401650
cmp dword [ebp - 0x1154], 0xffffffff
je 0x44217e
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
add ecx, dword [ebp - 0x1154]
lea esi, [ebp - 0x1194]
lea edx, [ebp - 0x1078]
call fcn.004075d0
mov edi, dword [ebp - 0x114c]
push 0xffffffffffffffff
push ebx
push eax
mov eax, edi
mov byte [ebp - 4], 6
call fcn.00401690
mov byte [ebp - 4], 4
call fcn.00401650
cmp dword [edi + 0x14], ebx
je 0x44217e
mov eax, dword [ebp - 0x1160]
cmp dword [eax + 0x14], ebx
je 0x44217e
push edi
mov edi, eax
call fcn.0042fc27
pop ecx
lea esi, [ebp - 0x1078]
call fcn.00401650
lea esi, [ebp - 0x1094]
mov byte [ebp - 4], 2
call fcn.00401650
mov eax, dword [ebp - 0x114c]
cmp dword [eax + 0x14], ebx
jne 0x4422fb
mov edx, str.http
lea eax, [ebp - 0x112c]
call fcn.004074b0
push 7
pop esi
xor ecx, ecx
lea eax, [ebp - 0x1110]
mov dword [ebp - 0x10f8], esi
call fcn.00401870
xor ecx, ecx
lea eax, [ebp - 0x10f0]
mov dword [ebp - 0x10d8], esi
call fcn.00401870
xor ecx, ecx
lea eax, [ebp - 0x10d4]
mov dword [ebp - 0x10bc], esi
call fcn.00401870
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1098], 8
mov edx, dword [ebp - 0x10ac]
jae 0x44220c
lea edx, [ebp - 0x10ac]
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x1154], esp
call fcn.004074b0
lea eax, [ebp - 0x112c]
push eax
call fcn.0044ebd5
cmp al, bl
je 0x4422a1
lea eax, [ebp - 0x10f0]
push eax
lea esi, [ebp - 0x1078]
call fcn.00401620
push 0x4f3d44
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004306fa
or edi, 0xffffffff
cmp eax, edi
push edi
jne 0x442267
push ebx
mov eax, esi
push eax
mov eax, dword [ebp - 0x114c]
call fcn.00401690
jmp 0x442292
lea ecx, [eax + 1]
lea esi, [ebp - 0x1194]
lea edx, [ebp - 0x1078]
call fcn.004075d0
push edi
push ebx
push eax
mov eax, dword [ebp - 0x114c]
mov byte [ebp - 4], 9
call fcn.00401690
call fcn.00401650
lea esi, [ebp - 0x1078]
mov byte [ebp - 4], 7
call fcn.00401650
mov edi, dword [ebp - 0x1160]
cmp dword [edi + 0x14], ebx
je 0x4422cb
push dword [ebp - 0x114c]
call fcn.0042fc27
test al, al
pop ecx
jne 0x4422cb
mov esi, dword [ebp - 0x114c]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00407ce0
lea esi, [ebp - 0x10d4]
mov byte [ebp - 4], 2
call fcn.00401650
lea esi, [ebp - 0x10f0]
call fcn.00401650
lea esi, [ebp - 0x1110]
call fcn.00401650
lea esi, [ebp - 0x112c]
call fcn.00401650
mov eax, dword [ebp - 0x114c]
cmp dword [eax + 0x14], ebx
jne 0x442418
push 7
pop esi
xor ecx, ecx
lea eax, [ebp - 0x1078]
mov dword [ebp - 0x1060], esi
call fcn.00401870
xor ecx, ecx
lea eax, [ebp - 0x1094]
mov dword [ebp - 0x107c], esi
call fcn.00401870
lea eax, [ebp - 0x1078]
push eax
mov byte [ebp - 4], 0xb
call fcn.00442e22
pop ecx
mov edx, 0x4f3d48
lea eax, [ebp - 0x1194]
call fcn.004074b0
lea eax, [ebp - 0x1094]
push eax
lea edx, [ebp - 0x1194]
lea ecx, [ebp - 0x1078]
mov byte [ebp - 4], 0xc
call fcn.00442f05
pop ecx
lea esi, [ebp - 0x1194]
mov byte [ebp - 4], 0xb
call fcn.00401650
mov edi, dword [ebp - 0x1160]
cmp dword [edi + 0x14], ebx
je 0x4423d3
lea eax, [ebp - 0x1094]
push eax
call fcn.0042fc27
test al, al
pop ecx
jne 0x4423d3
lea eax, [ebp - 0x1194]
push edi
push eax
lea ecx, [ebp - 0x1094]
call fcn.0043f27b
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea eax, [ebp - 0x1094]
mov byte [ebp - 4], 0xd
call fcn.00401690
lea esi, [ebp - 0x1194]
mov byte [ebp - 4], 0xb
call fcn.00401650
lea ecx, [ebp - 0x1094]
lea edi, [ebp - 0x1194]
call fcn.0043f1ee
push 0xffffffffffffffff
push ebx
push eax
mov eax, dword [ebp - 0x114c]
mov byte [ebp - 4], 0xe
call fcn.00401690
mov esi, edi
call fcn.00401650
lea esi, [ebp - 0x1094]
call fcn.00401650
lea esi, [ebp - 0x1078]
mov byte [ebp - 4], 2
call fcn.00401650
push dword [ebp - 0x114c]
lea ecx, [ebp - 0x1148]
push dword [ebp - 0x1178]
call fcn.0043e96d
push dword [ebp - 0x1178]
mov byte [ebp - 4], 0xf
call fcn.0043f057
add esp, 0xc
push dword [ebp - 0x1198]
lea ecx, [ebp - 0x1148]
call fcn.004426a2
pop ecx
lea esi, [ebp - 0x1148]
mov byte [ebp - 0x1159], al
call fcn.00401650
lea eax, [ebp - 0x1168]
mov byte [ebp - 4], 1
call fcn.0040dc10
lea esi, [ebp - 0x10b0]
call fcn.00401650
cmp dword [ebp - 0x1150], ebx
je 0x442492
push dword [ebp - 0x1150]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0x1159]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b6e9f
leave
ret