Function at 0x409130
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489141
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov ecx, dword [ebx - 0x10]
lea esi, [ebx - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x409189
cmp ecx, dword [esi]
jne 0x409189
lock inc dword [eax]
jmp 0x4091b3
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x409a2e
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [edi]
inc edx
push edx
push ebx
call fcn.004024f0
add esp, 8
add esi, 0x10
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x4091e7
cmp ecx, dword [edi]
jne 0x4091e7
lock inc dword [eax]
jmp 0x409213
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x409a33
mov eax, dword [ebx]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp - 0x20]
call fcn.004024f0
add esp, 8
add edi, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x409832
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x40], 0
push eax
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x68], xmm0
push dword [eax]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x6c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4092c5
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x409a38
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
or ebx, ebx
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4092c0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4099fd
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
call fcn.00403d50
push eax
push edi
push ebx
lea ecx, [ebp + 0xc]
call fcn.00408450
mov byte [ebp - 4], 9
mov ebx, 0x2f
mov edi, dword [ebp + 0xc]
mov ecx, 0x5c
cmp dword [ebp - 0x60], 5
cmove ebx, ecx
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x30], ebx
test eax, eax
jle 0x4093b0
lea ecx, [eax - 1]
test ecx, ecx
js 0x409a4c
cmp ecx, eax
jg 0x409a4c
movzx eax, word [edi + ecx*2]
cmp ax, bx
jne 0x4093b0
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409b30
mov byte [ebp - 4], 0xa
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea ebx, [edx - 0x10]
cmp ebx, ecx
je 0x40938d
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40937e
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x40937e
mov ecx, ebx
call fcn.004025a0
or ebx, 0xffffffff
mov dword [ebp - 0x28], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409376
mov edi, dword [ebp - 0x1c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
jmp 0x409390
push dword [edx - 0xc]
lea ecx, [ebp + 0xc]
push edx
call fcn.00407350
mov edi, dword [ebp + 0xc]
or ebx, 0xffffffff
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4093b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4093b3
or ebx, 0xffffffff
push dword [ebp - 0x30]
push edi
call fcn.0046fb32
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409458
sub ecx, edi
sar ecx, 1
js 0x409458
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409c40
mov byte [ebp - 4], 0xc
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x40943a
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x40942b
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x40942b
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x409423
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x40943a
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00407350
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
cmp eax, 3
je 0x40947c
cmp eax, 4
je 0x40947c
cmp eax, 1
jne 0x4096e4
cmp dword [esi - 0xc], 0
jle 0x4096e4
push 0x3b
jmp 0x409488
cmp dword [esi - 0xc], 0
jle 0x4096e4
push 0x3f
push esi
call fcn.0046f9b8
add esp, 8
test eax, eax
je 0x4096e4
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409507
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409b30
mov byte [ebp - 4], 0xe
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x409502
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4094f3
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4094f3
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4094eb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x409502
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00407350
mov esi, dword [ebp - 0x10]
jmp 0x4096c6
jne 0x4096e4
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409c40
mov byte [ebp - 4], 0x10
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x409572
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x409563
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x409563
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40955b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x409572
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00407350
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409590
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jle 0x4096e4
push 0x26
push esi
call fcn.0046f9b8
add esp, 8
test eax, eax
je 0x409634
sub eax, esi
sar eax, 1
test eax, eax
jle 0x409634
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409b30
mov byte [ebp - 4], 0x12
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x409616
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x409607
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x409607
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4095ff
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x409616
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00407350
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409634
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jle 0x4096e4
push 0x3d
push esi
call fcn.0046f9b8
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4096e4
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x4096e4
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409c40
mov byte [ebp - 4], 0x14
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4096c6
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4096b7
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4096b7
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4096af
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x4096c6
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00407350
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403d50
mov ecx, eax
test ecx, ecx
je 0x409a42
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c]
push 0x4a855c
call fcn.004071f0
test al, al
jne 0x409722
push 9
push 0x4a855c
lea ecx, [ebp - 0x1c]
call fcn.00407350
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x40975c
test ebx, ebx
js 0x409a4c
cmp ebx, eax
jg 0x409a4c
movzx eax, word [edi + ebx*2]
lea ecx, [ebp - 0x10]
push 0x5f
push eax
call fcn.0040e8e0
mov eax, dword [edi - 0xc]
inc ebx
cmp ebx, eax
jl 0x409732
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40977a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push str..aiu
lea ecx, [ebp - 0x20]
call fcn.00407430
mov byte [ebp - 4], 0x19
push 0x2e
push esi
call fcn.0046fb32
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4097c3
sub ecx, esi
sar ecx, 1
js 0x4097c3
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040c460
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004023a0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x4097e1
push 0x2e
push esi
call fcn.0046f9b8
add esp, 8
test eax, eax
je 0x4097e1
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4097f3
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004023a0
mov esi, dword [ebp - 0x10]
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 0x409811
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40982f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x40990b
test ecx, ecx
js 0x409a4c
cmp word [esi], 0x5c
jne 0x40985c
cmp ecx, 1
jl 0x409a56
cmp word [esi + 2], 0x5c
je 0x409870
cmp ecx, 1
jl 0x409a60
cmp word [esi + 2], 0x3a
jne 0x40990b
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
mov edx, eax
mov dword [ebp - 0x30], ecx
jl 0x409894
cmp edx, dword [esi]
jne 0x409894
mov eax, esi
lock inc dword [ecx]
jmp 0x4098c9
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [esi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x409a6a
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
add ecx, 0x10
inc edx
push edx
push eax
call fcn.004024f0
mov eax, dword [ebp + 0xc]
add esp, 8
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4098f7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
lock xadd dword [eax], ebx
dec ebx
jmp 0x409a0d
cmp dword [edi - 0xc], 0
je 0x409927
lea ecx, [ebp - 0x14]
call fcn.0040db40
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004023a0
jmp 0x409979
lea edx, [edi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp + 0xc], edx
cmp eax, edx
je 0x40997c
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x40996f
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x40996f
lea ecx, [esi - 0x10]
call fcn.004025a0
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409967
mov edi, dword [ebp + 0xc]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
jmp 0x40997c
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00407350
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40999d
cmp ecx, dword [edi]
jne 0x40999d
mov eax, edi
lock inc dword [edx]
jmp 0x4099d3
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x409a6f
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x10
inc edx
push edx
push eax
call fcn.004024f0
mov eax, dword [ebp + 0xc]
lea edx, [edi + 0xc]
add esp, 8
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4099fd
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 0x409a19
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.004024e0
call fcn.004024e0
push 0x80004005
call fcn.004024c0
push 0x80004005
call fcn.004024c0
push 0x80070057
call fcn.004024c0
push 0x80070057
call fcn.004024c0
push 0x80070057
call fcn.004024c0
call fcn.004024e0
call fcn.004024e0
int3