Function at 0x4c9080
Capabilities:
Parse url

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x563b72
push eax
mov edx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x7f0
xor eax, eax
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7d0
ja 0x4c9482
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x5c2a74]
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x808], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x30]
push 0x40
push ecx
mov byte [esp + 0x810], 1
mov byte [esp + 0x1b], 0
call fcn.00526d60
add esp, 8
test eax, eax
je 0x4c92dc
lea edx, [esp + 0x30]
push 0x5a5c64
push edx
call fcn.005271a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c92dc
lea ecx, [esp + 0x30]
sub eax, ecx
cmp eax, 8
jg 0x4c92dc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x4c92dc
add ebx, 3
push str.____
push ebx
call fcn.00529450
add esp, 8
test eax, eax
je 0x4c92dc
inc eax
push str.____
push eax
call fcn.00529450
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
mov al, byte [esi]
cmp al, 0x40
jne 0x4c92dc
cmp al, 0x40
jne 0x4c91b8
lea eax, [esi + 1]
push str.____
push eax
call fcn.00529450
add esp, 8
test eax, eax
je 0x4c91b8
cmp byte [eax], 0x40
jne 0x4c91b8
mov dword [esp + 0x28], eax
mov esi, eax
jmp 0x4c9196
mov edx, dword [0x5c2a74]
mov dword [esp + 0x2c], edx
sub esi, ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x808], 2
mov dword [esp + 0x1c], esi
lea eax, [esi + 1]
push eax
call fcn.00542665
mov ecx, esi
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [esp + 0x14]
push edx
mov byte [eax + ecx], 0
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.004c8f70
add esp, 0xc
test eax, eax
je 0x4c92cb
mov edx, dword [0x5c2a74]
mov byte [esp + 0x13], 1
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x30]
mov byte [esp + 0x808], 3
sub ebx, eax
lea ecx, [ebx + 1]
push ecx
lea ecx, [esp + 0x20]
call fcn.00542665
mov ecx, ebx
lea esi, [esp + 0x30]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
mov eax, dword [0x5c2a74]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc ecx
lea eax, [esp + 0x20]
push ecx
push edx
push 0x5a4b44
push eax
mov byte [esp + 0x818], 4
call fcn.0053afda
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x808], 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.005421be
lea ecx, [esp + 0x1c]
mov byte [esp + 0x808], 2
call fcn.005421be
lea ecx, [esp + 0x2c]
mov byte [esp + 0x808], 1
call fcn.005421be
lea ecx, [esp + 0x30]
push ecx
call fcn.004c9010
mov byte [ebp + 0x111c], al
mov eax, 0x64
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x40]
mov dword [ebp + 0x38], eax
mov ecx, 0x7d0
lea eax, [ebp + 0x810]
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x874]
lea eax, [ebp + 0x93c]
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x30], eax
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x814]
lea ebx, [ebp + 4]
not ecx
push ebx
dec ecx
mov dword [ebp + 0x1118], edx
push 0
lea eax, [esp + 0x38]
lea esi, [ebp + 0x110c]
lea edx, [ebp + 0x8d8]
push ecx
push eax
mov dword [ebx], 0x3c
mov dword [ebp + 0xc], 0xa
mov dword [ebp + 8], esi
mov dword [ebp + 0x20], edx
mov word [ebp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x4c945d
push 3
push 0x5a4038
push esi
call fcn.00528c80
add esp, 0xc
test eax, eax
je 0x4c93ed
push 3
push 0x5a402c
push esi
call fcn.00528c80
add esp, 0xc
test eax, eax
je 0x4c93ed
lea eax, [ebp + 0x93c]
push 0x25
push eax
call fcn.00526d60
add esp, 8
test eax, eax
je 0x4c93ed
mov ecx, 3
mov edi, 0x5b9de0
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4c956a
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4c93ed
push 0x25
push eax
call fcn.00526d60
add esp, 8
test eax, eax
jne 0x4c93c0
lea eax, [ebp + 0x40]
lea ecx, [esp + 0x24]
push eax
call fcn.0054222c
mov ecx, 0x7d0
mov eax, 0x64
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x34], ecx
mov dword [ebp + 0x24], eax
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebx
dec ecx
push 0x10000000
lea eax, [esp + 0x38]
push ecx
push eax
mov byte [esp + 0x818], 5
mov dword [ebx], 0x3c
mov dword [ebp + 0xc], 0xa
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4c9489
lea ecx, [esp + 0x24]
mov byte [esp + 0x808], 1
call fcn.005421be
lea ecx, [esp + 0x14]
mov byte [esp + 0x808], 0
call fcn.005421be
lea ecx, [esp + 0x18]
mov dword [esp + 0x808], 0xffffffff
call fcn.005421be
xor eax, eax
jmp 0x4c9594
mov al, byte [ebp + 0x111c]
test al, al
je 0x4c94a7
mov ecx, dword [esp + 0x814]
mov edx, dword [ebp + 0x30]
push ecx
push edx
call fcn.00505e00
add esp, 8
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x13]
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
je 0x4c9535
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x64
jae 0x4c9535
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x64
jae 0x4c9535
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x110c]
push 0x5a402c
push eax
call fcn.0052f680
add esp, 8
test eax, eax
jne 0x4c9559
cmp word [ebp + 0x1c], ax
jne 0x4c9559
mov word [ebp + 0x1c], 0x6db
lea ecx, [esp + 0x24]
mov byte [esp + 0x808], 1
call fcn.005421be
lea ecx, [esp + 0x14]
mov byte [esp + 0x808], 0
call fcn.005421be
lea ecx, [esp + 0x18]
mov dword [esp + 0x808], 0xffffffff
call fcn.005421be
mov eax, 1
mov ecx, dword [esp + 0x800]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7fc
ret 8