Function at 0x40209b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
push edi
sub eax, 0x10
call fcn.00401c33
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add ebx, 0x10
sub eax, 0x10
mov dword [ebp - 4], ebx
call fcn.00401c33
mov edi, eax
mov eax, dword [esi]
add edi, 0x10
cmp dword [eax - 0xc], 0
mov dword [ebp - 8], edi
jne 0x4022cd
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0042e270
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x402125
mov esi, dword [ebp + 8]
call fcn.00401f8b
lea eax, [edi - 0x10]
call fcn.0040147d
lea eax, [ebx - 0x10]
jmp 0x4022f9
push dword [ebp - 0x20]
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00401000
cmp dword [ebp - 0x40], 5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
mov byte [ebp - 0xc], 0x2f
jne 0x402148
mov byte [ebp - 0xc], 0x5c
test eax, eax
jle 0x402179
lea esi, [eax - 1]
lea edi, [ebp + 0x10]
call fcn.00402671
cmp al, byte [ebp - 0xc]
jne 0x402179
lea eax, [ebp - 0x10]
push eax
mov eax, esi
mov esi, edi
call fcn.00402629
call fcn.00401bc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
push dword [ebp - 0xc]
lea esi, [ebp + 0x10]
call fcn.004025c0
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x4021b4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push ecx
call fcn.004025da
lea edi, [ebp - 4]
call fcn.00401bc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0x40], 3
jne 0x4021be
push 0x3f
jmp 0x4021c6
cmp dword [ebp - 0x40], 1
jne 0x4021d3
push 0x3b
lea esi, [ebp - 4]
xor ecx, ecx
call fcn.0040259b
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4021e8
lea ecx, [ebp - 0x10]
push ecx
lea esi, [ebp - 4]
call fcn.00402629
jmp 0x40225c
jne 0x40226f
mov ebx, dword [ebx - 0xc]
lea ecx, [ebp - 0x10]
lea eax, [ebx - 1]
push ecx
lea esi, [ebp - 4]
call fcn.004025da
mov edi, esi
call fcn.00401bc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
push 0x26
xor ecx, ecx
call fcn.0040259b
test eax, eax
jle 0x402238
lea ecx, [ebp - 0x10]
push ecx
call fcn.00402629
call fcn.00401bc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
push 0x3d
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0040259b
mov ecx, eax
test ecx, ecx
jle 0x40226f
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push ecx
call fcn.004025da
lea edi, [ebp - 4]
call fcn.00401bc0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
lea eax, [ebp - 4]
push eax
call fcn.00411d04
lea esi, [ebp - 0xc]
mov dword [esp], str..aiu
call fcn.004015d9
mov eax, esi
push eax
lea eax, [ebp - 4]
call fcn.00411884
pop ecx
push 0x2e
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0040259b
cmp eax, 0xffffffff
mov esi, dword [ebp - 0xc]
jne 0x4022b4
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
push eax
call fcn.004026e5
lea eax, [esi - 0x10]
call fcn.0040147d
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0040259b
test eax, eax
jle 0x402302
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00401c33
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
call fcn.0040147d
mov eax, ebx
call fcn.0040147d
mov eax, esi
jmp 0x402350
cmp dword [edi - 0xc], 0
je 0x40231f
lea eax, [ebp - 8]
call fcn.00411555
push dword [ebx - 0xc]
lea eax, [ebp - 8]
push ebx
push eax
call fcn.004026e5
jmp 0x40232a
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.00401bc0
mov esi, dword [ebp - 8]
add esi, 0xfffffff0
mov eax, esi
call fcn.00401c33
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.0040147d
lea eax, [ebx - 0x10]
call fcn.0040147d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret