Function at 0x1001e1ea
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x1c30]
mov eax, 0x1c30
call fcn.1003b5e0
push 0xffffffffffffffff
push 0x10052702
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x1c2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x1c38]
mov eax, dword [ebp + 0x1c3c]
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 0x7d0
push esi
push ebx
lea eax, [ebp + 0xbb8]
push eax
call fcn.100388b0
add esp, 0xc
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x5c], 0x3e8
push 0x64
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], eax
lea eax, [ebp]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x7d0]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x1bbc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x1c20]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0xbb8]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1b58]
mov dword [ebp - 0x54], eax
xor eax, eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x70]
push eax
push 0x10000000
push edi
call fcn.10038190
pop ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push 0x2f
push dword [ebp - 0x44]
call fcn.100394e0
pop ecx
pop ecx
cmp eax, ebx
je 0x1001e2f1
mov byte [ebp - 4], 1
mov byte [eax + 1], bl
mov dword [ebp - 4], ebx
jmp 0x1001e2f1
push dword [ebp - 0x44]
push dword [ebp - 0x60]
push dword [ebp - 0x6c]
push str._s:___s_s
lea eax, [ebp + 0x1388]
push eax
call fcn.1003b325
push 4
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.100388b0
push 2
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.100388b0
add esp, 0x2c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
cmp dword [0x10069bb8], ebx
jne 0x1001e374
mov eax, dword [0x10069bbc]
cmp eax, ebx
jne 0x1001e357
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x10069bbc], eax
cmp eax, ebx
je 0x1001e368
push str.InternetGetCookieExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10069bb8], eax
cmp dword [0x10069bb8], ebx
je 0x1001e419
mov dword [ebp - 0x28], 1
lea eax, [ebp + 0x1388]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000525d
mov byte [ebp - 4], 3
push ebx
mov esi, 0x2000
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [ebp - 0x18]
call dword [0x10069bb8]
test eax, eax
jne 0x1001e3ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001e40d
mov eax, dword [ebp - 0x28]
inc eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10037b26
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x1001e40d
push ebx
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
push ebx
push dword [ebp - 0x18]
call dword [0x10069bb8]
test eax, eax
je 0x1001e40d
jmp 0x1001e409
push 4
call fcn.10037b26
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x1001e40d
mov cx, word [ebp - 0x30]
mov word [eax], cx
xor ecx, ecx
mov word [eax + 2], cx
mov byte [ebp - 0x12], 1
mov byte [ebp - 4], bl
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp + 0x1388]
push eax
mov esi, dword [sym.imp.WININET.dll_InternetGetCookieA]
call esi
test eax, eax
jne 0x1001e4be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001e4be
mov eax, dword [ebp - 0x24]
inc eax
push eax
call fcn.10037b26
pop ecx
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
je 0x1001e4be
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
lea eax, [ebp + 0x1388]
push eax
call esi
test eax, eax
je 0x1001e4b5
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call esi
mov edi, eax
cmp edi, ebx
je 0x1001e4b5
lea eax, [edi + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10037b26
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x1001e4b5
push edi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call esi
test eax, eax
je 0x1001e4b5
mov byte [ebp - 0x11], 1
push dword [ebp - 0x18]
call fcn.10037980
pop ecx
cmp byte [ebp - 0x12], bl
jne 0x1001e4da
cmp byte [ebp - 0x11], bl
je 0x1001e528
xor esi, esi
cmp byte [ebp - 0x11], bl
je 0x1001e4e7
push dword [ebp - 0x1c]
call fcn.1003892a
pop ecx
jmp 0x1001e4e9
push dword [ebp - 0x20]
call fcn.1003892a
pop ecx
mov esi, eax
jmp 0x1001e4ca
xor eax, eax
lea esi, [eax + esi + 3]
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, dword [ebp - 0x34]
mov dword [edi], eax
cmp eax, ebx
je 0x1001e54f
push esi
push ebx
push eax
call fcn.100388b0
movzx eax, byte [ebp - 0x11]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x12]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x20]
push eax
push dword [edi]
call fcn.1001d6b8
add esp, 0x18
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], ebx
je 0x1001e53a
push dword [ebp - 0x20]
call fcn.10037980
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x1001e548
push dword [ebp - 0x1c]
call fcn.10037980
pop ecx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1c2c]
xor ecx, ebp
call fcn.10037f17
add ebp, 0x1c30
leave
ret