Function at 0x4247b3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x30], ebx
cmp eax, ebx
jbe 0x424cc1
lea esi, [ecx + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], eax
mov edx, dword [esi - 0x10]
mov ecx, dword [esi]
shr edx, 0xa
and edx, 8
mov dword [esp + 0x40], edx
cmp ecx, ebx
je 0x42482e
mov word [esp + 0x58], 0x2a3f
mov dword [esp + 0x5c], ecx
call fcn.0042bc16
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [edi]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
or edx, 0x12
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], edx
call fcn.0042c14f
test al, al
je 0x424cb0
jmp 0x424831
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], ecx
cmp eax, ecx
jae 0x424ab8
jmp 0x424853
mov eax, dword [esp + 0x38]
movzx ebx, word [eax]
mov ecx, eax
add ebx, eax
movzx eax, word [ebx]
add eax, ebx
movzx edx, word [eax]
add edx, eax
mov dword [esp + 0x38], edx
movzx edx, word [ecx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmp edx, 4
jne 0x42487f
and dword [esp + 0x20], 0
jmp 0x4248b3
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [edx - 4]
push dword [edi]
add ecx, 4
push eax
mov eax, dword [esp + 0x4c]
lea edi, [esp + 0x2c]
xor esi, esi
call fcn.00423542
test al, al
je 0x424aa1
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
movzx edx, word [ebx]
cmp edx, 4
jne 0x4248d1
cmp word [ecx], dx
jne 0x4248c7
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
jmp 0x4248cb
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jmp 0x424927
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, dword [esp + 0x20]
lea ecx, [ebx + 4]
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x24]
xor edi, edi
push eax
lea eax, [edx - 4]
push eax
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0x34]
call fcn.00423542
test al, al
je 0x424aa1
mov eax, dword [esp + 0x1c]
cmp word [eax], 4
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
jne 0x42491b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jmp 0x424923
mov eax, dword [esp + 0x20]
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + 4]
movzx eax, word [eax]
sub eax, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], 0
jmp 0x424947
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push ecx
push dword [ebp + 8]
mov dword [esp + 0x44], ecx
call fcn.00424541
mov bl, al
test bl, bl
je 0x424979
cmp byte [esp + 0x13], 0
je 0x424974
push dword [esp + 0x34]
call fcn.0042b085
mov byte [esp + 0x13], 1
cmp bl, 1
je 0x42493f
mov ebx, dword [esp + 0x28]
mov eax, dword [esi - 0x10]
sub ebx, dword [esp + 0x20]
test al, 4
je 0x424a00
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, ebx
add eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.0042b055
mov esi, eax
test esi, esi
je 0x424a8b
mov eax, dword [esp + 0x20]
push eax
push dword [edi]
push esi
call fcn.0042b0c1
push dword [esp + 0x1c]
lea ecx, [esi + eax]
push dword [esp + 0x28]
push ecx
call fcn.0042b0c1
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx]
sub ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [edi]
add ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
add ecx, esi
add ecx, eax
push ecx
call fcn.0042b0c1
push dword [edi]
call fcn.0042b085
mov eax, dword [esp + 0x34]
inc dword [esp + 0x30]
mov dword [edi], esi
mov dword [ebx], eax
jmp 0x424a8b
test al, 8
je 0x424a8f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, ebx
lea eax, [eax + ecx + 2]
lea esi, [esp + 0x2c]
call fcn.0042b000
test al, al
je 0x424a8b
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x424a44
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x28]
add ecx, esi
push ecx
call fcn.0042b0c1
add dword [esp + 0x18], eax
mov ecx, dword [edi]
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebx
push ecx
add eax, esi
push eax
call fcn.0042b0c1
mov ecx, dword [esp + 0x14]
test dword [ecx - 0x10], 0x100
je 0x424a6b
add dword [esp + 0x18], ebx
jmp 0x424a7a
push ebx
mov ebx, eax
call fcn.00431b65
add dword [esp + 0x18], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov byte [eax + esi], 0xa
inc eax
mov dword [esp + 0x18], eax
mov byte [eax + esi], 0
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x424aa8
push dword [esp + 0x24]
call fcn.0042b085
jmp 0x424aa8
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
jb 0x42484f
xor ebx, ebx
mov eax, dword [esi - 0x10]
test al, 8
je 0x424bd1
cmp dword [esp + 0x2c], ebx
je 0x424bd1
test eax, 0x200
je 0x424b86
push 0x3c
pop edi
push edi
push ebx
lea eax, [esp + 0x60]
push eax
call fcn.0042b138
lea eax, [esp + 0x128]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push dword [ebp + 8]
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x424bc8
cmp dword [esp + 0x6c], ebx
jbe 0x424bc8
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea esi, [esp + 0xe0]
mov eax, edi
call fcn.0040aee3
movzx eax, word [esp + 0x4e]
push eax
movzx eax, word [esp + 0x4e]
push eax
movzx eax, word [esp + 0x50]
sub eax, 0x7d0
push eax
lea eax, [esp + 0x134]
push eax
mov eax, esi
push eax
mov edx, 0x104
lea edi, [esp + 0x244]
call fcn.0042bebe
add esp, 0x14
push dword [esp + 0x18]
mov eax, edi
push dword [esp + 0x30]
push eax
push 0
push 2
call fcn.00410943
jmp 0x424bc2
push dword [ebp + 8]
or eax, 0xffffffff
push ebx
call fcn.0042b2c5
mov edi, eax
cmp edi, ebx
je 0x424bc8
push 0x3d
lea esi, [esp + 0x5c]
pop eax
call fcn.0040aee3
push dword [esp + 0x2c]
mov eax, esi
push edi
push eax
push 0
push edi
push 0xc9
call fcn.00410b2b
add esp, 0x18
push edi
call fcn.0042b085
mov esi, dword [esp + 0x14]
xor ebx, ebx
push dword [esp + 0x2c]
call fcn.0042b085
cmp dword [esi - 4], ebx
je 0x424cb0
test byte [esi - 0x10], 0x10
je 0x424c67
lea eax, [esp + 0x58]
push eax
push 1
lea eax, [esp + 0xe8]
call fcn.0040d48d
mov ecx, dword [esi - 4]
call fcn.0042bc16
push eax
push ecx
lea eax, [esp + 0xc8]
push eax
call fcn.0042c6c9
test al, al
je 0x424cb0
lea ecx, [esp + 0xe0]
xor edi, edi
mov al, byte [esp + edi + 0xc0]
call fcn.0042b3ed
inc edi
add ecx, 4
cmp edi, 0x10
jb 0x424c1f
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x10
lea eax, [esp + 0xd4]
push eax
push 3
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00430a94
jmp 0x424cb0
mov edi, 0x437914
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x43792c]
call fcn.0042b085
push dword [0x437930]
call fcn.0042b085
push dword [esi - 0xc]
or eax, 0xffffffff
call fcn.0042b4e3
mov dword [0x43792c], eax
push dword [esi - 4]
or eax, 0xffffffff
call fcn.0042b4e3
push edi
mov dword [0x437930], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 0x1c
dec dword [esp + 0x3c]
mov dword [esp + 0x14], esi
jne 0x4247db
xor eax, eax
cmp eax, dword [esp + 0x30]
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc