Function at 0x41b38c
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 0x41b82d
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
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x41b406
mov word [esp + 0x50], 0x2a3f
mov dword [esp + 0x54], ecx
call fcn.00405788
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.00405bcf
test al, al
je 0x41b81c
jmp 0x41b409
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
and dword [esp + 0x18], 0
and dword [esp + 0xc], 0
add eax, ecx
mov dword [esp + 0x3c], eax
cmp ecx, eax
jae 0x41b623
jmp 0x41b42d
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 0x41b45b
and dword [esp + 0x10], 0
jmp 0x41b48c
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.0041a6b2
test al, al
je 0x41b611
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
movzx edx, word [eax]
cmp edx, 4
jne 0x41b4aa
cmp word [ecx], dx
jne 0x41b4a0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
jmp 0x41b4a4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x41b4f9
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.0041a6b2
test al, al
je 0x41b611
mov eax, dword [esp + 0x28]
cmp word [eax], 4
mov esi, dword [esp + 0x24]
jne 0x41b4f1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x41b4f9
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 0x41b586
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, ecx
add eax, edi
mov dword [esp + 0x28], eax
call fcn.00404c1b
mov dword [esp + 0x20], eax
test eax, eax
je 0x41b611
mov edx, dword [esp + 0x10]
push edx
push dword [ebx]
push eax
call fcn.00404c87
push edi
add esi, 4
push esi
lea ecx, [eax + edx]
push ecx
call fcn.00404c87
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.00404c87
push dword [ebx]
call fcn.00404c4b
mov eax, dword [esp + 0x20]
inc dword [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
mov dword [esi], eax
jmp 0x41b611
test al, 8
je 0x41b611
mov eax, dword [esp + 0xc]
add ecx, edi
lea ecx, [ecx + eax + 2]
lea esi, [esp + 0x18]
call fcn.00404bd6
test al, al
je 0x41b611
mov esi, dword [esp + 0x18]
test edi, edi
je 0x41b5c6
mov eax, dword [esp + 0x24]
push edi
add eax, 4
push eax
mov eax, dword [esp + 0x14]
add eax, esi
push eax
call fcn.00404c87
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.00404c87
mov ecx, dword [esp + 0x1c]
test dword [ecx - 0x10], 0x100
je 0x41b5f1
add dword [esp + 0xc], edx
jmp 0x41b600
push edx
mov ebx, eax
call fcn.00409875
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 0x41b429
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0x10]
xor esi, esi
test al, 8
je 0x41b73f
cmp dword [esp + 0x18], esi
je 0x41b73f
test eax, 0x200
je 0x41b6f8
push 0x3c
pop edx
push edx
push esi
lea eax, [esp + 0x58]
push eax
call fcn.00404cfe
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 0x41b734
cmp dword [esp + 0x64], esi
jbe 0x41b734
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 8
lea esi, [esp + 0xdc]
pop eax
call fcn.004157fb
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.0040593e
add esp, 0x14
push dword [esp + 0xc]
mov eax, edi
push dword [esp + 0x1c]
push eax
push 0
push 2
call fcn.0041c596
mov edi, dword [esp + 0x1c]
jmp 0x41b734
push dword [ebp + 8]
or eax, 0xffffffff
push esi
call fcn.00404e8b
mov ebx, eax
cmp ebx, esi
je 0x41b734
push 9
lea esi, [esp + 0x54]
pop eax
call fcn.004157fb
push dword [esp + 0x18]
mov eax, esi
push ebx
push eax
push 0
push ebx
push 0xc9
call fcn.0041c740
add esp, 0x18
push ebx
call fcn.00404c4b
push dword [esp + 0x18]
call fcn.00404c4b
xor esi, esi
cmp dword [edi - 4], esi
je 0x41b81c
test byte [edi - 0x10], 0x10
je 0x41b7d3
lea eax, [esp + 0x50]
push eax
push 1
lea eax, [esp + 0xe0]
call fcn.004149fb
mov ecx, dword [edi - 4]
call fcn.00405788
push eax
push ecx
lea eax, [esp + 0xc0]
push eax
call fcn.00405ef0
test al, al
je 0x41b81c
lea ecx, [esp + 0xd8]
mov al, byte [esp + esi + 0xb8]
call fcn.00404fb3
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x41b78b
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.00408ece
jmp 0x41b81c
mov esi, 0x423b94
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x423bac]
call fcn.00404c4b
push dword [0x423bb0]
call fcn.00404c4b
push dword [edi - 0xc]
or eax, 0xffffffff
call fcn.004050a9
mov dword [0x423bac], eax
push dword [edi - 4]
or eax, 0xffffffff
call fcn.004050a9
push esi
mov dword [0x423bb0], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add edi, 0x1c
dec dword [esp + 0x34]
mov dword [esp + 0x1c], edi
jne 0x41b3b3
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