Function at 0x408e10
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1308
call fcn.0041b950
mov eax, dword [0x436b68]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x408e33
cmp dword [ebp + 0xc], 0
jne 0x408e3a
xor eax, eax
jmp 0x4090b0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1264], 0
push 0x38
push 0
lea ecx, [ebp - 0x1260]
push ecx
call fcn.00419a10
add esp, 0xc
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea edx, [ebp - 0x107]
push edx
call fcn.00419a10
add esp, 0xc
mov byte [ebp - 0x188], 0
push 0x7f
push 0
lea eax, [ebp - 0x187]
push eax
call fcn.00419a10
add esp, 0xc
mov byte [ebp - 0x1308], 0
push 0x7f
push 0
lea ecx, [ebp - 0x1307]
push ecx
call fcn.00419a10
add esp, 0xc
mov byte [ebp - 0x1228], 0
push 0x823
push 0
lea edx, [ebp - 0x1227]
push edx
call fcn.00419a10
add esp, 0xc
mov byte [ebp - 0xa00], 0
push 0x823
push 0
lea eax, [ebp - 0x9ff]
push eax
call fcn.00419a10
add esp, 0xc
mov dword [ebp - 0x1264], 0x3c
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x1254], ecx
mov dword [ebp - 0x1250], 0x100
lea edx, [ebp - 0x188]
mov dword [ebp - 0x1248], edx
mov dword [ebp - 0x1244], 0x80
lea eax, [ebp - 0x1308]
mov dword [ebp - 0x1240], eax
mov dword [ebp - 0x123c], 0x80
lea ecx, [ebp - 0x1228]
mov dword [ebp - 0x1238], ecx
mov dword [ebp - 0x1234], 0x824
mov dword [ebp - 0x1288], 0
xor edx, edx
mov dword [ebp - 0x1284], edx
mov dword [ebp - 0x1280], edx
mov dword [ebp - 0x127c], edx
mov dword [ebp - 0x1278], edx
mov dword [ebp - 0x1274], edx
mov dword [ebp - 0x1270], edx
mov dword [ebp - 0x126c], edx
mov dword [ebp - 0x1268], edx
mov dword [ebp - 0x1288], 0x24
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1274], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1278], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1270], edx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x126c], eax
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x1268], ecx
lea edx, [ebp - 0x1264]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov dword [ebp - 0x1d8], eax
lea ecx, [ebp - 0x1264]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1288]
push eax
call fcn.004097d0
add esp, 0x10
mov dword [ebp - 0x18c], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp - 0x1238]
push eax
lea ecx, [ebp - 0x1288]
push ecx
call fcn.00409350
add esp, 0x10
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x1d0], 0
push 0x3f
push 0
lea edx, [ebp - 0x1cf]
push edx
call fcn.00419a10
add esp, 0xc
mov eax, dword [ebp - 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1284], 0
je 0x40907e
mov ecx, dword [ebp - 0x1284]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1280], 0
je 0x409094
mov edx, dword [ebp - 0x1280]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x127c], 0
je 0x4090aa
mov eax, dword [ebp - 0x127c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417fbe
mov esp, ebp
pop ebp
ret