Function at 0x49a0d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509361
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ebx, [ecx + 0x18]
mov dword [ebp - 0x38], 0
push ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov dword [ebp - 4], eax
mov word [edi], cx
mov dword [ebp - 0x38], eax
cmp dword [esi + 0x10], ecx
je 0x49a31b
cmp dword [esi + 0x14], 8
jb 0x49a14c
mov eax, dword [esi]
jmp 0x49a14e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x49a31b
push 0x3c
lea edx, [ebp - 0x78]
push 0
push edx
call fcn.004e41d0
mov ebx, dword [esi + 0x10]
xor ecx, ecx
lea edi, [ebx + 1]
mov eax, edi
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x78], 0x3c
neg ecx
or ecx, eax
push ecx
call fcn.0041c219
add esp, 0x10
mov dword [ebp - 0x68], eax
test eax, eax
je 0x49a1ac
lea ecx, [ebx + ebx + 2]
push ecx
push 0
push eax
call fcn.004e41d0
add esp, 0xc
mov dword [ebp - 0x64], edi
cmp byte [ebp + 0x10], 0
je 0x49a1e7
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c219
add esp, 4
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x49a1e7
lea ecx, [ebx + ebx + 2]
push ecx
push 0
push eax
call fcn.004e41d0
add esp, 0xc
mov dword [ebp - 0x48], edi
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x49a1f3
mov esi, dword [esi]
lea edx, [ebp - 0x78]
push edx
push 0
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
mov eax, dword [ebp - 0x68]
je 0x49a2f8
test eax, eax
je 0x49a305
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x49a2f8
push ecx
xor edx, edx
mov esi, 7
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.004063e0
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00406360
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x49a265
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
add esp, 4
cmp byte [ebp + 0x10], 0
je 0x49a2f5
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
push eax
xor edx, edx
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.004063e0
push 1
push 0
push 0x52c5b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040a590
cmp eax, 0xffffffff
je 0x49a2b4
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ac30
push 1
push 0
push 0x52b168
lea ecx, [ebp - 0x2c]
call fcn.0040a590
cmp eax, 0xffffffff
je 0x49a2d5
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ac30
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x2c]
push edx
mov ecx, ebx
call fcn.0040e830
cmp dword [ebp - 0x18], edi
jb 0x49a2f5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x49a305
push eax
call fcn.00418a67
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x49a315
push eax
call fcn.00418a67
add esp, 4
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 0xc