Function at 0x417cba
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x49c
push ebx
push esi
xor esi, esi
mov dword [esp + 0x38], ecx
mov ebx, edx
mov dword [esp + 0x30], esi
push edi
mov dword [esp + 0x10], ebx
cmp dword [ebp + 0x10], esi
jbe 0x4181f3
mov edi, dword [ebp + 0xc]
add edi, 0xc
mov dword [esp + 0x40], edi
mov edx, dword [edi - 0xc]
mov ecx, dword [edi + 4]
shr edx, 0xa
and edx, 8
mov dword [esp + 0x38], edx
test ecx, ecx
je 0x417d5a
mov word [esp + 0x48], 0x2a3f
mov dword [esp + 0x4c], ecx
call fcn.004192d2
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x48]
mov eax, dword [ebx]
or edx, 0x12
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x64], edx
mov eax, dword [eax]
mov dword [esp + 0x58], eax
call fcn.004197a8
test al, al
jne 0x417d5a
push 0x406260
push 0
push 0x347
push 0x405d68
push 0x406288
call fcn.0041a5ac
add esp, 0x14
jmp 0x4181de
mov eax, dword [edi + 8]
xor esi, esi
mov ecx, dword [edi + 0xc]
xor ebx, ebx
add ecx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
cmp eax, ecx
jae 0x417f20
mov ecx, eax
movzx eax, word [eax]
mov edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
add edx, dword [esp + 0x30]
push 4
mov dword [esp + 0x20], edx
movzx esi, word [edx]
add esi, edx
mov dword [esp + 0x2c], esi
movzx esi, word [esi]
add esi, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
pop esi
cmp ax, si
mov esi, dword [esp + 0x18]
jne 0x417db9
xor ecx, ecx
mov dword [esp + 0x14], ecx
jmp 0x417dee
push dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 8]
add edx, 0xfffffffc
push 0
add ecx, 4
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [eax]
call fcn.00416d34
test al, al
je 0x417f12
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
movzx edx, word [edx]
push 4
pop eax
cmp dx, ax
jne 0x417e14
mov eax, dword [esp + 0x2c]
push 4
pop esi
cmp word [eax], si
jne 0x417e10
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
jmp 0x417e66
mov esi, ecx
jmp 0x417e0a
push dword [esp + 0x38]
lea eax, [esp + 0x24]
push 0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
push 4
pop eax
sub edx, eax
add ecx, eax
call fcn.00416d34
test al, al
je 0x417f12
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
push 4
pop ecx
cmp word [eax], cx
jne 0x417e60
mov eax, esi
mov dword [esp + 0x14], eax
jmp 0x417e6a
mov eax, dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x28]
push 4
pop edx
movzx ecx, word [ecx]
sub ecx, edx
mov edx, esi
sub edx, eax
mov dword [esp + 0x1c], ecx
test byte [edi - 0xc], 4
mov dword [esp + 0x24], edx
je 0x418008
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, edx
add eax, ecx
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.004185cd
mov dword [esp + 0x24], eax
test eax, eax
je 0x417f0e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push dword [ecx]
push eax
call fcn.0041863c
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add eax, edx
add ecx, 4
push ecx
push eax
call fcn.0041863c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, esi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, esi
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
add eax, esi
add eax, edx
push eax
call fcn.0041863c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.00418601
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc dword [esp + 0x34]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x44]
jb 0x417d7a
test byte [edi - 0xc], 8
je 0x4180da
test esi, esi
je 0x4180da
test dword [edi - 0xc], 0x200
je 0x418088
push 0x3c
pop edx
push edx
push 0
lea eax, [esp + 0x50]
push eax
call fcn.0041869b
lea eax, [esp + 0x198]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x48]
mov dword [esp + 0x6c], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x4180cb
cmp dword [esp + 0x5c], 0
jbe 0x4180cb
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 8
lea edx, [esp + 0xf8]
pop ecx
call fcn.004255fb
movzx eax, word [esp + 0x96]
push eax
movzx eax, word [esp + 0x96]
push eax
movzx eax, word [esp + 0x98]
sub eax, 0x7d0
push eax
lea eax, [esp + 0x1a4]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x2b4]
push 0x104
push eax
call fcn.004194ac
add esp, 0x1c
lea eax, [esp + 0x2a0]
xor edx, edx
push ebx
push esi
push eax
push 2
pop ecx
call fcn.0040a7ec
jmp 0x4180cb
test byte [edi - 0xc], 8
je 0x417f0e
add ecx, 2
add edx, ecx
lea ecx, [esp + 0x18]
add edx, ebx
call fcn.00418586
test al, al
je 0x417f0e
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edx, edx
je 0x41804a
mov eax, dword [esp + 0x28]
push edx
add eax, 4
push eax
lea eax, [ebx + esi]
push eax
call fcn.0041863c
add ebx, edx
mov eax, dword [esp + 0x10]
lea ecx, [ebx + esi]
mov edx, dword [esp + 0x24]
push edx
mov eax, dword [eax]
add eax, dword [esp + 0x18]
push eax
push ecx
call fcn.0041863c
test dword [edi - 0xc], 0x100
je 0x418070
add ebx, edx
jmp 0x41807a
lea ecx, [ebx + esi]
call fcn.0041db0a
add ebx, eax
mov byte [ebx + esi], 0xa
inc ebx
mov byte [ebx + esi], 0
jmp 0x417f12
mov edx, dword [esp + 0x3c]
xor ecx, ecx
push 0xffffffffffffffff
call fcn.00418854
mov ebx, eax
test ebx, ebx
je 0x4180cb
push 9
lea edx, [esp + 0xc4]
pop ecx
call fcn.004255fb
push esi
push ebx
lea eax, [esp + 0xc8]
push eax
push 0
push ebx
push 0xc9
call fcn.0040a9dc
add esp, 0x18
mov ecx, ebx
call fcn.00418601
push esi
push 0
push dword [0x42ac50]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [edi], 0
je 0x4181da
test byte [edi - 0xc], 0x10
je 0x418172
lea eax, [esp + 0x48]
xor ecx, ecx
push eax
lea edx, [esp + 0x134]
inc ecx
call fcn.00420bca
mov ecx, dword [edi]
call fcn.004192d2
mov edx, ecx
lea ecx, [esp + 0xa0]
push eax
call fcn.00419b0c
test al, al
je 0x4181da
push 4
lea edx, [esp + 0x4c]
xor esi, esi
pop edi
mov cl, byte [esp + esi + 0xa0]
call fcn.00418981
inc esi
add edx, edi
cmp esi, 0x10
jb 0x418128
xor eax, eax
mov word [edx], ax
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x10
lea eax, [esp + 0xb4]
push eax
push 3
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x140]
call fcn.0041cfc7
mov edi, dword [esp + 0x40]
jmp 0x4181da
push dword [edi]
push 0x4062a8
push 0
push 0x3e9
push 0x405d68
push 0x406288
call fcn.0041a5ac
add esp, 0x18
mov esi, 0x42a034
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x42a04c]
call fcn.00418601
mov ecx, dword [0x42a050]
call fcn.00418601
mov ecx, dword [edi - 8]
or edx, 0xffffffff
call fcn.00418a93
mov dword [0x42a04c], eax
or edx, 0xffffffff
mov ecx, dword [edi]
call fcn.00418a93
push esi
mov dword [0x42a050], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x10]
add edi, 0x1c
sub dword [ebp + 0x10], 1
mov dword [esp + 0x40], edi
jne 0x417cec
mov esi, dword [esp + 0x34]
pop edi
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0xc