Function at 0x4116c3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
and dword [esp + 0x20], 0
push ebx
push esi
push edi
test eax, eax
je 0x411ba0
lea edi, [ecx + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], eax
mov edx, dword [edi - 0x10]
mov ecx, dword [edi]
shr edx, 0xa
and edx, 8
xor esi, esi
mov dword [esp + 0x38], edx
cmp ecx, esi
je 0x41175b
mov word [esp + 0x50], 0x2a3f
mov dword [esp + 0x54], ecx
call fcn.0041f33e
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
or edx, 0x12
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], edx
call fcn.0041f793
test al, al
jne 0x41175e
push 0x406748
push esi
push 0x347
push 0x406248
push 0x406770
call fcn.00420542
add esp, 0x14
jmp 0x411b8f
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x3c], eax
cmp ecx, eax
jae 0x411976
jmp 0x411780
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx]
add eax, ecx
movzx esi, word [eax]
add esi, eax
movzx edx, word [esi]
add edx, esi
mov dword [esp + 0x30], edx
movzx edx, word [ecx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
cmp edx, 4
jne 0x4117ae
and dword [esp + 0x10], 0
jmp 0x4117df
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [edx - 4]
push dword [ebx]
add ecx, 4
push eax
mov eax, dword [esp + 0x44]
lea edi, [esp + 0x1c]
xor esi, esi
call fcn.00410825
test al, al
je 0x411964
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
cmp edx, 4
jne 0x4117fd
cmp word [ecx], dx
jne 0x4117f3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
jmp 0x4117f7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x41184c
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
sub ecx, dword [esp + 0x10]
xor edi, edi
push ecx
mov ecx, dword [ebx]
add ecx, dword [esp + 0x14]
lea esi, [esp + 0x18]
push ecx
lea ecx, [edx - 4]
push ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x44]
call fcn.00410825
test al, al
je 0x411964
mov eax, dword [esp + 0x28]
cmp word [eax], 4
mov esi, dword [esp + 0x24]
jne 0x411844
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x41184c
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], eax
movzx edi, word [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x10]
mov eax, dword [eax - 0x10]
sub edi, 4
mov dword [esp + 0x20], ecx
test al, 4
je 0x4118d9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, ecx
add eax, edi
mov dword [esp + 0x28], eax
call fcn.0041e7d1
mov dword [esp + 0x20], eax
test eax, eax
je 0x411964
mov edx, dword [esp + 0x10]
push edx
push dword [ebx]
push eax
call fcn.0041e83d
push edi
add esi, 4
push esi
lea ecx, [eax + edx]
push ecx
call fcn.0041e83d
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi]
sub ecx, dword [esp + 0x14]
add eax, edi
push ecx
mov ecx, dword [ebx]
add ecx, dword [esp + 0x18]
add eax, edx
push ecx
push eax
call fcn.0041e83d
push dword [ebx]
call fcn.0041e801
mov eax, dword [esp + 0x20]
inc dword [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
mov dword [esi], eax
jmp 0x411964
test al, 8
je 0x411964
mov eax, dword [esp + 0xc]
add ecx, edi
lea ecx, [ecx + eax + 2]
lea esi, [esp + 0x18]
call fcn.0041e78c
test al, al
je 0x411964
mov esi, dword [esp + 0x18]
test edi, edi
je 0x411919
mov eax, dword [esp + 0x24]
push edi
add eax, 4
push eax
mov eax, dword [esp + 0x14]
add eax, esi
push eax
call fcn.0041e83d
add dword [esp + 0xc], edi
mov ecx, dword [ebx]
mov edx, dword [esp + 0x20]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push ecx
add eax, esi
push eax
call fcn.0041e83d
mov ecx, dword [esp + 0x1c]
test dword [ecx - 0x10], 0x100
je 0x411944
add dword [esp + 0xc], edx
jmp 0x411953
push edx
mov ebx, eax
call fcn.004238b3
add dword [esp + 0xc], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
mov byte [eax + esi], 0xa
inc eax
mov dword [esp + 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x30], eax
jb 0x41177c
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0x10]
xor esi, esi
test al, 8
je 0x411a92
cmp dword [esp + 0x18], esi
je 0x411a92
test eax, 0x200
je 0x411a4b
push 0x3c
pop edx
push edx
push esi
lea eax, [esp + 0x58]
push eax
call fcn.0041e8b4
lea eax, [esp + 0x120]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x74], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x411a87
cmp dword [esp + 0x64], esi
jbe 0x411a87
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 8
lea esi, [esp + 0xdc]
pop eax
call fcn.004106a9
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x48]
sub eax, 0x7d0
push eax
lea eax, [esp + 0x12c]
push eax
mov eax, esi
push eax
mov edx, 0x104
lea edi, [esp + 0x23c]
call fcn.0041f4f4
add esp, 0x14
push dword [esp + 0xc]
mov eax, edi
push dword [esp + 0x1c]
push eax
push 0
push 2
call fcn.004189bf
mov edi, dword [esp + 0x1c]
jmp 0x411a87
push dword [ebp + 8]
or eax, 0xffffffff
push esi
call fcn.0041ea41
mov ebx, eax
cmp ebx, esi
je 0x411a87
push 9
lea esi, [esp + 0x54]
pop eax
call fcn.004106a9
push dword [esp + 0x18]
mov eax, esi
push ebx
push eax
push 0
push ebx
push 0xc9
call fcn.00418b97
add esp, 0x18
push ebx
call fcn.0041e801
push dword [esp + 0x18]
call fcn.0041e801
xor esi, esi
mov eax, dword [edi - 4]
cmp eax, esi
je 0x411b8f
test byte [edi - 0x10], 0x10
je 0x411b28
lea eax, [esp + 0x50]
push eax
push 1
lea eax, [esp + 0xe0]
call fcn.0041cee3
mov ecx, dword [edi - 4]
call fcn.0041f33e
push eax
push ecx
lea eax, [esp + 0xc0]
push eax
call fcn.0041fab4
test al, al
je 0x411b8f
lea ecx, [esp + 0xd8]
mov al, byte [esp + esi + 0xb8]
call fcn.0041eb69
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x411ae0
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x10
lea eax, [esp + 0xcc]
push eax
push 3
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00422ebe
jmp 0x411b8f
push eax
push 0x406790
push esi
push 0x3e9
push 0x406248
push 0x406770
call fcn.00420542
add esp, 0x18
mov esi, 0x42a570
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x42a588]
call fcn.0041e801
push dword [0x42a58c]
call fcn.0041e801
push dword [edi - 0xc]
or eax, 0xffffffff
call fcn.0041ec5f
mov dword [0x42a588], eax
push dword [edi - 4]
or eax, 0xffffffff
call fcn.0041ec5f
push esi
mov dword [0x42a58c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add edi, 0x1c
dec dword [esp + 0x34]
mov dword [esp + 0x1c], edi
jne 0x4116ea
xor eax, eax
cmp eax, dword [esp + 0x2c]
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc