Function at 0x409b10
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a004e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
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 0x40a093
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 0x409c47
call fcn.00404500
test eax, eax
je 0x40a1a9
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 0x409c17
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 0x409c33
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.00404500
mov ecx, eax
test ecx, ecx
je 0x40a1a9
cmp dword [ebp - 0x14], 0
jne 0x409c70
test edi, edi
jne 0x40a19f
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
test eax, eax
je 0x40a19a
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
test eax, eax
js 0x40a19f
cmp eax, dword [edi - 8]
jg 0x40a19f
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x409cdb
test edi, edi
je 0x409ccb
mov ecx, dword [ebp - 0x14]
push eax
test ecx, ecx
je 0x409cc0
push ecx
push edi
call fcn.0047f880
add esp, 0xc
jmp 0x409cdb
push 0
push edi
call fcn.0047fe00
add esp, 0xc
call fcn.004831ad
mov dword [eax], 0x16
call fcn.004830af
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 0x409d54
lea ecx, [eax - 1]
test ecx, ecx
js 0x40a19f
cmp ecx, eax
jg 0x40a19f
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x409d54
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a260
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push eax
call fcn.00408f80
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 0x409d4e
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.0047f423
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409dab
sub ecx, edi
sar ecx, 1
js 0x409dab
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408020
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00408f80
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 0x409da8
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 0x409dcf
cmp eax, 4
je 0x409dcf
cmp eax, 1
jne 0x409f14
cmp dword [esi - 0xc], 0
jle 0x409f14
push 0x3b
jmp 0x409ddb
cmp dword [esi - 0xc], 0
jle 0x409f14
push 0x3f
push esi
call fcn.0047f373
add esp, 8
test eax, eax
je 0x409f14
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409e13
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a260
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
push eax
call fcn.00408f80
jmp 0x409ef3
jne 0x409f14
mov eax, dword [esi - 0xc]
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408020
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00408f80
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 0x409e55
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 0x409f14
push 0x26
push esi
call fcn.0047f373
add esp, 8
test eax, eax
je 0x409eb4
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409eb4
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a260
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xc]
push eax
call fcn.00408f80
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 0x409eb1
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 0x409f14
push 0x3d
push esi
call fcn.0047f373
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409f14
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x409f14
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408020
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00408f80
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 0x409f11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
call fcn.00404500
test eax, eax
je 0x40a1a9
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 0x4c4034
call fcn.00403660
test al, al
jne 0x409f52
push 9
push 0x4c4034
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 0x409f8f
test ebx, ebx
js 0x40a19f
cmp ebx, ecx
jg 0x40a19f
movzx eax, word [eax + ebx*2]
lea ecx, [ebp + 0xc]
push 0x5f
push eax
call fcn.0040f710
mov eax, dword [ebp - 0x14]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x409f62
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 0x409fad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404500
test eax, eax
je 0x40a1a9
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 0x409feb
push 4
push str..aiu
lea ecx, [ebp - 0x14]
call fcn.004037d0
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.0047f423
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40a027
sub ecx, esi
sar ecx, 1
js 0x40a027
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040ca70
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 0x40a045
push 0x2e
push esi
call fcn.0047f373
add esp, 8
test eax, eax
je 0x40a045
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40a057
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 0x40a075
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 0x40a090
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 0x40a10c
test ecx, ecx
js 0x40a19f
cmp word [esi], 0x5c
jne 0x40a0bb
cmp ecx, 1
jl 0x40a19f
cmp word [esi + 2], 0x5c
jne 0x40a0c4
jmp 0x40a0cb
cmp ecx, 1
jl 0x40a19f
cmp word [esi + 2], 0x3a
jne 0x40a10c
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 0x40a103
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
jmp 0x40a173
cmp dword [edi - 0xc], 0
lea ecx, [ebp + 8]
je 0x40a128
call fcn.0040e870
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.00402670
jmp 0x40a131
lea eax, [ebp + 0xc]
push eax
call fcn.00408f80
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 0x40a169
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 0x40a185
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