Function at 0x404e90
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c71
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
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 0x404ee9
cmp ecx, dword [esi]
jne 0x404ee9
lock inc dword [eax]
jmp 0x404f13
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x40578f
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.004023d0
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 0x404f47
cmp ecx, dword [edi]
jne 0x404f47
lock inc dword [eax]
jmp 0x404f73
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x405794
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.004023d0
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 0x405591
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 0x405025
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x405799
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edx], 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 0x405020
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40575e
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
call fcn.00403f70
push eax
push edi
push ebx
lea ecx, [ebp + 0xc]
call fcn.00403460
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 0x405110
lea ecx, [eax - 1]
test ecx, ecx
js 0x4057ad
cmp ecx, eax
jg 0x4057ad
movzx eax, word [edi + ecx*2]
cmp ax, bx
jne 0x405110
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00405890
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 0x4050ed
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4050de
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x4050de
mov ecx, ebx
call fcn.00402480
or ebx, 0xffffffff
mov dword [ebp - 0x28], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4050d6
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 0x4050f0
push dword [edx - 0xc]
lea ecx, [ebp + 0xc]
push edx
call fcn.00403ae0
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 0x405113
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405113
or ebx, 0xffffffff
push dword [ebp - 0x30]
push edi
call fcn.0046df08
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4051b8
sub ecx, edi
sar ecx, 1
js 0x4051b8
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004059a0
mov byte [ebp - 4], 0xc
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x40519a
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x40518b
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x40518b
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x405183
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 0x40519a
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00403ae0
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 0x4051b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
cmp eax, 3
je 0x4051dc
cmp eax, 4
je 0x4051dc
cmp eax, 1
jne 0x405444
cmp dword [esi - 0xc], 0
jle 0x405444
push 0x3b
jmp 0x4051e8
cmp dword [esi - 0xc], 0
jle 0x405444
push 0x3f
push esi
call fcn.0046dfaa
add esp, 8
test eax, eax
je 0x405444
sub eax, esi
sar eax, 1
test eax, eax
jle 0x405267
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405890
mov byte [ebp - 4], 0xe
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x405262
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x405253
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x405253
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40524b
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 0x405262
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00403ae0
mov esi, dword [ebp - 0x10]
jmp 0x405426
jne 0x405444
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004059a0
mov byte [ebp - 4], 0x10
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4052d2
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4052c3
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4052c3
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4052bb
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 0x4052d2
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00403ae0
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 0x4052f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jle 0x405444
push 0x26
push esi
call fcn.0046dfaa
add esp, 8
test eax, eax
je 0x405394
sub eax, esi
sar eax, 1
test eax, eax
jle 0x405394
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405890
mov byte [ebp - 4], 0x12
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x405376
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x405367
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x405367
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40535f
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 0x405376
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00403ae0
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 0x405394
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jle 0x405444
push 0x3d
push esi
call fcn.0046dfaa
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x405444
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x405444
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004059a0
mov byte [ebp - 4], 0x14
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x405426
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x405417
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x405417
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40540f
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 0x405426
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00403ae0
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 0x405444
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x4057a3
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 0x4a510c
call fcn.004038d0
test al, al
jne 0x405482
push 9
push 0x4a510c
lea ecx, [ebp - 0x1c]
call fcn.00403ae0
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x4054bb
test ebx, ebx
js 0x4057ad
cmp ebx, eax
jg 0x4057ad
movzx eax, word [edi + ebx*2]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040aac0
mov eax, dword [edi - 0xc]
inc ebx
cmp ebx, eax
jl 0x405492
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 0x4054d9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push str..aiu
lea ecx, [ebp - 0x20]
call fcn.00403990
mov byte [ebp - 4], 0x19
push 0x2e
push esi
call fcn.0046df08
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x405522
sub ecx, esi
sar ecx, 1
js 0x405522
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00408270
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00402280
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x405540
push 0x2e
push esi
call fcn.0046dfaa
add esp, 8
test eax, eax
je 0x405540
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x405552
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00402280
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 0x405570
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 0x40558e
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 0x40566a
test ecx, ecx
js 0x4057ad
cmp word [esi], 0x5c
jne 0x4055bb
cmp ecx, 1
jl 0x4057b7
cmp word [esi + 2], 0x5c
je 0x4055cf
cmp ecx, 1
jl 0x4057c1
cmp word [esi + 2], 0x3a
jne 0x40566a
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 0x4055f3
cmp edx, dword [esi]
jne 0x4055f3
mov eax, esi
lock inc dword [ecx]
jmp 0x405628
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 0x4057cb
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.004023d0
mov eax, dword [ebp + 0xc]
add esp, 8
mov edx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edx], 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 0x405656
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 0x40576e
cmp dword [edi - 0xc], 0
je 0x405686
lea ecx, [ebp - 0x14]
call fcn.00409aa0
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00402280
jmp 0x4056d8
lea edx, [edi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp + 0xc], edx
cmp eax, edx
je 0x4056db
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x4056ce
mov eax, dword [eax]
cmp eax, dword [edx]
jne 0x4056ce
lea ecx, [esi - 0x10]
call fcn.00402480
mov dword [ebp - 0x30], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4056c6
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 0x4056db
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00403ae0
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 ecx, [edi + 0xc]
mov edx, eax
jl 0x4056fc
cmp edx, dword [edi]
jne 0x4056fc
mov eax, edi
lock inc dword [ecx]
jmp 0x405734
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [edi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x4057d0
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.004023d0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xc]
add esp, 8
mov edx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40575e
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 0x40577a
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.004023c0
call fcn.004023c0
push 0x80004005
call fcn.004023a0
push 0x80004005
call fcn.004023a0
push 0x80070057
call fcn.004023a0
push 0x80070057
call fcn.004023a0
push 0x80070057
call fcn.004023a0
call fcn.004023c0
call fcn.004023c0
int3