Function at 0x4944c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aaf0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x556620]
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 ebx, dword [0x55b408]
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x494749
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebx + 0x49]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x494749
push 0x3c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0xb0], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x78], 1
jb 0x49455a
mov eax, dword [edi]
jmp 0x49455c
mov eax, edi
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x494749
mov eax, dword [ebp - 0xa4]
cmp eax, 3
je 0x49458a
cmp eax, 4
jne 0x494749
xor eax, eax
mov dword [ebp - 0x60], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00407980
mov eax, dword [ebp - 0x7c]
mov ecx, 0x511a98
test eax, eax
mov dword [ebp - 4], 0
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407370
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x49460d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push 0
push eax
call fcn.0040b680
push eax
push 0
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
call fcn.00407940
push eax
lea ecx, [ebp - 0x74]
call fcn.00407aa0
lea ecx, [ebp - 0xc8]
call fcn.00408450
push 0x52c6ec
lea ecx, [ebp - 0x5c]
call fcn.00407370
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x2e
push eax
lea ecx, [ebp - 0x74]
call fcn.00429030
xor ecx, ecx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], cx
mov byte [ebp - 4], 3
cmp eax, 0xffffffff
je 0x4946da
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00407940
push eax
lea ecx, [ebp - 0x44]
call fcn.00407aa0
lea ecx, [ebp - 0xc8]
call fcn.00408450
cmp dword [ebp - 0x34], 3
jne 0x4946c9
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
push 3
push 0
call fcn.00408670
test eax, eax
jne 0x4946c9
cmp dword [ebp - 0x18], eax
jne 0x4946aa
push str.ProtectedMode1
jmp 0x4946c2
push 0
push 0x52c718
lea ecx, [ebp - 0x28]
call fcn.00419dc0
test eax, eax
jne 0x4946c9
push 0x52c71c
mov ecx, edi
call fcn.0042b180
cmp dword [ebp - 0x30], 8
jb 0x4946da
push dword [ebp - 0x44]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x4946ff
push dword [ebp - 0x5c]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x494724
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x494749
push dword [ebp - 0x74]
call fcn.0040823e
add esp, 4
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.00401580
mov esp, ebp
pop ebp
ret