Function at 0x409a70
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e96e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4e2054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.004027f0
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004027f0
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 4
mov eax, dword [ebx]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x409ff3
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x58], xmm0
push dword [eax]
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x5c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x409ba7
call fcn.00404580
test eax, eax
je 0x40a109
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ebx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409b77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x409b93
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
call fcn.00404580
mov ecx, eax
test ecx, ecx
je 0x40a109
cmp dword [ebp - 0x14], 0
jne 0x409bd0
test edi, edi
jne 0x40a0ff
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
test eax, eax
je 0x40a0fa
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
test eax, eax
js 0x40a0ff
cmp eax, dword [edi - 8]
jg 0x40a0ff
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x409c3b
test edi, edi
je 0x409c2b
mov ecx, dword [ebp - 0x14]
push eax
test ecx, ecx
je 0x409c20
push ecx
push edi
call fcn.0047e1e0
add esp, 0xc
jmp 0x409c3b
push 0
push edi
call fcn.0047e760
add esp, 0xc
call fcn.00481b0d
mov dword [eax], 0x16
call fcn.00481a0f
mov byte [ebp - 4], 9
mov edx, 0x2f
cmp dword [ebp - 0x50], 5
mov ecx, 0x5c
mov eax, dword [edi - 0xc]
cmove edx, ecx
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x409cb4
lea ecx, [eax - 1]
test ecx, ecx
js 0x40a0ff
cmp ecx, eax
jg 0x40a0ff
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x409cb4
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a1c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push eax
call fcn.00408ec0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push edx
push edi
call fcn.0047dd83
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409d0b
sub ecx, edi
sar ecx, 1
js 0x409d0b
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407f60
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00408ec0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x50]
cmp eax, 3
je 0x409d2f
cmp eax, 4
je 0x409d2f
cmp eax, 1
jne 0x409e74
cmp dword [esi - 0xc], 0
jle 0x409e74
push 0x3b
jmp 0x409d3b
cmp dword [esi - 0xc], 0
jle 0x409e74
push 0x3f
push esi
call fcn.0047dcd3
add esp, 8
test eax, eax
je 0x409e74
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409d73
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a1c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
push eax
call fcn.00408ec0
jmp 0x409e53
jne 0x409e74
mov eax, dword [esi - 0xc]
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407f60
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00408ec0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409db5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x409e74
push 0x26
push esi
call fcn.0047dcd3
add esp, 8
test eax, eax
je 0x409e14
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409e14
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a1c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xc]
push eax
call fcn.00408ec0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x409e74
push 0x3d
push esi
call fcn.0047dcd3
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409e74
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x409e74
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407f60
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00408ec0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
call fcn.00404580
test eax, eax
je 0x40a109
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
push 0x4c205c
call fcn.00403660
test al, al
jne 0x409eb2
push 9
push 0x4c205c
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x409eef
test ebx, ebx
js 0x40a0ff
cmp ebx, ecx
jg 0x40a0ff
movzx eax, word [eax + ebx*2]
lea ecx, [ebp + 0xc]
push 0x5f
push eax
call fcn.0040eac0
mov eax, dword [ebp - 0x14]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x409ec2
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409f0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404580
test eax, eax
je 0x40a109
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x14]
push str..aiu
call fcn.00403660
test al, al
jne 0x409f4b
push 4
push str..aiu
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.0047dd83
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409f87
sub ecx, esi
sar ecx, 1
js 0x409f87
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040c9d0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00402670
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x409fa5
push 0x2e
push esi
call fcn.0047dcd3
add esp, 8
test eax, eax
je 0x409fa5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x409fb7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00402670
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409fd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x409ff0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x40a06c
test ecx, ecx
js 0x40a0ff
cmp word [esi], 0x5c
jne 0x40a01b
cmp ecx, 1
jl 0x40a0ff
cmp word [esi + 2], 0x5c
jne 0x40a024
jmp 0x40a02b
cmp ecx, 1
jl 0x40a0ff
cmp word [esi + 2], 0x3a
jne 0x40a06c
add esi, 0xfffffff0
mov ecx, esi
call fcn.004027f0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a063
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
jmp 0x40a0d3
cmp dword [edi - 0xc], 0
lea ecx, [ebp + 8]
je 0x40a088
call fcn.0040dda0
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.00402670
jmp 0x40a091
lea eax, [ebp + 0xc]
push eax
call fcn.00408ec0
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
mov ecx, edi
call fcn.004027f0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a0c9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40a0e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004027e0
push 0x80070057
call fcn.004027c0
push 0x80004005
call fcn.004027c0
int3