Function at 0x10005b34
Capabilities:
Parse url

Disassembly:
mov eax, 0x100125b3
call fcn.10011420
sub esp, 0x1ac
mov eax, dword [0x1001b0f8]
push ebx
mov dword [ebp - 0x10], eax
push edi
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 4], ebx
jbe 0x1000619b
push esi
push 1
push edi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0xc4], 0x28
call fcn.10003a82
mov esi, eax
cmp esi, 0xffffffff
je 0x1000619a
push 1
push edi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0xc4], 0x29
call fcn.10003a82
cmp eax, 0xffffffff
mov dword [ebp - 0xd0], eax
je 0x10005bab
cmp eax, esi
jg 0x10005bb4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd0], eax
push ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], 0xf
call fcn.10001653
lea ecx, [ebp - 0x6c]
call fcn.100027c7
push 0x10013770
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x50], 0x50
call fcn.100019ed
push 0x10013516
lea ecx, [ebp - 0x88]
call fcn.100019ed
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x10005c0a
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd0]
sub ecx, esi
dec ecx
push ecx
lea eax, [eax + esi + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003f45
push 0xe
pop ecx
push 0x3c
pop esi
xor eax, eax
mov dword [ebp - 0x110], ebx
lea edi, [ebp - 0x10c]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [ebp - 4], 2
call sub.msvcrt.dll_memset
mov dword [ebp - 0x110], esi
mov esi, 0x104
push esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
push esi
mov dword [ebp - 0x100], eax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xfc], esi
mov esi, dword [ebp - 0x28]
add esp, 0x14
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xe4], eax
mov edi, esi
jae 0x10005c8b
lea edi, [ebp - 0x28]
mov esi, edi
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003d9a
push sub.msvcrt.dll_tolower
push edi
push dword [eax]
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.10003e01
mov eax, dword [ebp - 0x28]
add esp, 0x14
cmp dword [ebp - 0x14], 0x10
jae 0x10005cbe
lea eax, [ebp - 0x28]
push 4
push str.http
push eax
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10005d43
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10001a0a
push str.HTTP:__
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.10001a30
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.10003eb0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100018ef
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xa4]
call fcn.100016a3
push ebx
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.100016a3
jmp 0x10005d46
xor edi, edi
inc edi
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10005d52
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x110]
push ecx
push 0x80000000
push dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, edi
jne 0x10005e6b
cmp dword [ebp - 0x104], 3
jne 0x10005d7e
mov dword [ebp - 0x4c], edi
jmp 0x10005d8e
xor eax, eax
cmp dword [ebp - 0x104], 4
sete al
inc eax
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x88]
call fcn.100019ed
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x2c]
call fcn.100019ed
push edi
push ebx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xc4], 0x3a
call fcn.10003a82
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005de6
movzx eax, word [ebp - 0xf8]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x50], eax
call fcn.100019ed
jmp 0x10005e50
push esi
push ebx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.100018ef
push ebx
push edi
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 2
call fcn.100016a3
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
cmp dword [eax + 0x18], 0x10
jb 0x10005e36
mov eax, dword [eax + 4]
jmp 0x10005e39
add eax, 4
push eax
call sub.msvcrt.dll_atoi
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x50], eax
call fcn.100016a3
cmp dword [ebp - 0x58], ebx
jne 0x10005f72
push 0x10013770
lea ecx, [ebp - 0x6c]
call fcn.100019ed
jmp 0x10005f72
push 0x10013770
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], edi
call fcn.100019ed
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xc4], 0x3a
call fcn.10003b1d
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005eb8
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x88]
call fcn.100018ef
mov dword [ebp - 0x50], 0x50
jmp 0x10005f72
push edi
push ebx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xc4], 0x3a
call fcn.10003a82
cmp eax, 0xffffffff
jne 0x10005efe
push esi
push ebx
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.100018ef
lea ecx, [ebp - 0x1b8]
jmp 0x10005f2f
mov ecx, dword [ebp - 0x18]
sub ecx, esi
add ecx, eax
push ecx
add eax, 3
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.100018ef
lea ecx, [ebp - 0x164]
push ebx
push edi
mov byte [ebp - 4], 2
call fcn.100016a3
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
cmp dword [eax + 0x18], 0x10
jb 0x10005f58
mov eax, dword [eax + 4]
jmp 0x10005f5b
add eax, 4
push eax
call sub.msvcrt.dll_atoi
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x50], eax
call fcn.100016a3
push dword [ebp - 0x100]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xe4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
xor eax, eax
cmp dword [ebp - 0x70], 0x10
mov ecx, dword [ebp - 0x84]
jae 0x10005f9e
lea ecx, [ebp - 0x84]
cmp byte [ecx + eax], 0x20
jne 0x10005fac
cmp eax, dword [ebp - 0x74]
jae 0x10005fac
inc eax
jmp 0x10005f8c
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x88]
call fcn.100041a7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.100018ef
push ebx
push edi
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.100016a3
cmp dword [ebp - 0x74], ebx
setne byte [ebp - 0xc4]
xor esi, esi
cmp dword [ebp - 0x74], ebx
jbe 0x10006122
push edi
push esi
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 0xc8], 0x2e
call fcn.10003a82
cmp eax, 0xffffffff
mov dword [ebp - 0xcc], eax
jne 0x10006029
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x1000603b
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0xcc]
sub ecx, esi
push ecx
add eax, esi
push eax
lea ecx, [ebp - 0x48]
call fcn.10003f45
cmp dword [ebp - 0x34], ebx
je 0x10006164
xor eax, eax
cmp dword [ebp - 0x34], ebx
jle 0x100060f9
mov esi, dword [ebp - 0x44]
push 0x10
pop edx
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x10006073
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x30
jl 0x10006089
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x10006083
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x39
jle 0x100060ef
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x10006093
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x61
jl 0x100060a9
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x100060a3
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x7a
jle 0x100060ef
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x100060b3
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x41
jl 0x100060c9
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x100060c3
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x5a
jle 0x100060ef
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x100060d3
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x5f
je 0x100060ef
cmp dword [ebp - 0x30], edx
mov ecx, esi
jae 0x100060e3
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax], 0x2d
je 0x100060ef
mov byte [ebp - 0xc4], bl
inc eax
cmp eax, dword [ebp - 0x34]
jl 0x10006069
cmp byte [ebp - 0xc4], bl
push ebx
lea ecx, [ebp - 0x48]
push edi
je 0x1000611d
mov esi, dword [ebp - 0xcc]
inc esi
call fcn.100016a3
cmp esi, dword [ebp - 0x74]
jb 0x10005ffa
jmp 0x10006122
call fcn.100016a3
cmp byte [ebp - 0xc4], bl
je 0x1000616e
mov ecx, dword [ebp + 0x24]
lea eax, [ebp - 0x88]
push eax
call fcn.10005af4
mov edi, dword [ebp - 0xd0]
push ebx
push 1
lea ecx, [ebp - 0x2c]
inc edi
call fcn.100016a3
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.100027dc
cmp edi, dword [ebp + 0x1c]
jb 0x10005b5f
jmp 0x1000619a
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.100016a3
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push eax
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.10005525
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100016a3
lea ecx, [ebp - 0x88]
call fcn.100027dc
pop esi
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.100016a3
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100112e6
leave
ret