Function at 0x10033fe
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x998
mov eax, dword [0x10140b8]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x260]
mov dword [ebp - 0x264], eax
push 0xf
mov eax, 0x80
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x160]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0x998]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x160]
push eax
push ebx
push ebx
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x380], ebx
mov dword [ebp - 0x37c], ebx
mov dword [ebp - 0x160], 0x3c
mov dword [ebp - 0x14c], 0x104
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x10034cc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10034b7
call esi
mov edi, eax
jmp 0x10037f7
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
jmp 0x10037f7
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x124]
push dword [ebp - 0x150]
call fcn.01003149
mov edi, dword [ebp - 0x124]
cmp edi, ebx
jl 0x10037ec
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x270]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.01009506
mov edi, eax
cmp edi, ebx
jl 0x10037ec
cmp dword [ebp - 0x10], ebx
je 0x100352a
mov edi, 0x80070005
jmp 0x10037ec
cmp dword [ebp + 0xc], ebx
jne 0x1003550
push 0xffffffffffffffff
lea ecx, [ebp - 0x124]
call fcn.0100302c
push eax
push ebx
lea ecx, [ebp - 0x270]
call fcn.01002efa
mov dword [ebp + 0xc], 1
mov edi, dword [ebp - 0x270]
cmp edi, ebx
jl 0x10037ec
cmp dword [ebp + 0x10], ebx
je 0x10036e4
lea eax, [ebp - 0x380]
push eax
push 0x10014c4
push ebx
call fcn.010096cb
test eax, eax
push 0xffffffffffffffff
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
jl 0x1003603
lea ecx, [ebp - 0x380]
call fcn.0100302c
push eax
push ebx
lea ecx, [ebp - 0x124]
call fcn.01002efa
mov edi, dword [ebp - 0x124]
cmp edi, ebx
lea ecx, [ebp - 0x124]
jl 0x10037f2
push ebx
call fcn.0100302c
push eax
call fcn.010026d8
mov edi, eax
cmp edi, ebx
je 0x10035dc
lea ecx, [ebp - 0x124]
call fcn.0100302c
sub edi, eax
dec edi
dec edi
sar edi, 1
jmp 0x10035e2
mov edi, dword [ebp - 0x120]
push edi
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x270], ebx
call fcn.0100302c
push eax
lea ecx, [ebp - 0x270]
jmp 0x100360e
push 0x10014b0
lea ecx, [ebp - 0x124]
push ebx
call fcn.01002efa
push 0xffffffffffffffff
push 0x100149c
push ebx
lea ecx, [ebp - 0x270]
call fcn.01002efa
mov edi, dword [ebp - 0x270]
cmp edi, ebx
lea ecx, [ebp - 0x124]
jl 0x10037f2
call fcn.0100302c
push 7
mov edi, 0x100148c
push edi
lea ecx, [ebp - 0x124]
mov esi, eax
call fcn.0100302c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x124]
je 0x1003675
call fcn.0100302c
mov esi, eax
add esi, 0xe
jmp 0x100369f
push 8
push 0x1001478
call fcn.0100302c
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100369f
lea ecx, [ebp - 0x124]
call fcn.0100302c
mov esi, eax
add esi, 0x10
push 0xffffffffffffffff
push edi
push ebx
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x37c], ebx
mov dword [ebp - 0x380], ebx
call fcn.01002efa
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x380]
call fcn.01002efa
mov edi, dword [ebp - 0x380]
cmp edi, ebx
jl 0x10037ec
lea ecx, [ebp - 0x380]
call fcn.0100302c
mov esi, eax
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
mov edi, eax
pop ecx
inc edi
push edi
lea ecx, [ebp - 0x790]
call fcn.01003079
push edi
lea ecx, [ebp - 0x588]
call fcn.01003079
cmp dword [ebp - 0x588], ebx
je 0x10037d1
cmp dword [ebp - 0x790], ebx
je 0x10037d1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x588]
mov dword [ebp - 0x14], 0x50
push edi
push dword [ebp - 0x790]
push esi
call fcn.01008ed2
mov edi, eax
cmp edi, ebx
jl 0x10037d6
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1003760
mov ecx, eax
call fcn.01002ae3
mov dword [ebp - 8], eax
jmp 0x1003763
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
je 0x10037d1
mov ecx, dword [ebp - 8]
call fcn.01009bdb
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x270]
call fcn.0100302c
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 0x588]
push dword [ebp + 0x10]
call fcn.0100b4be
test eax, eax
jge 0x100379c
mov edi, 0x80070002
jmp 0x10037d6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
push 1
push dword [ebp + 0x14]
call dword [eax + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x10037d6
mov ecx, dword [ebp - 0xc]
push dword [ebp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jl 0x10037d6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor edi, edi
jmp 0x10037d6
mov edi, 0x8007000e
lea ecx, [ebp - 0x588]
call fcn.01010b3f
lea ecx, [ebp - 0x790]
call fcn.01010b3f
lea ecx, [ebp - 0x124]
call fcn.010028c1
lea ecx, [ebp - 0x380]
call fcn.010028c1
lea ecx, [ebp - 0x270]
call fcn.010028c1
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x100381d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 8], ebx
je 0x1003833
mov ecx, dword [ebp - 8]
call fcn.01002b1d
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp edi, ebx
jge 0x100388d
mov eax, dword [ebp + 0x14]
cmp dword [eax], ebx
jge 0x1003842
xor eax, eax
jmp 0x1003845
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x14]
lea esi, [eax + eax]
call fcn.0100302c
cmp esi, ebx
je 0x100385a
mov byte [eax], bl
inc eax
dec esi
jne 0x1003854
mov eax, dword [ebp + 0x18]
cmp dword [eax], ebx
jge 0x1003865
xor eax, eax
jmp 0x1003868
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
lea esi, [eax + eax]
call fcn.0100302c
cmp esi, ebx
je 0x100387d
mov byte [eax], bl
inc eax
dec esi
jne 0x1003877
mov eax, dword [ebp + 0x14]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.0100701d
leave
ret 0x18