Function at 0x408990
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c92a
mov eax, dword fs:[0]
push eax
sub esp, 0x6fc
mov eax, dword [0x440068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6d8], edx
mov esi, ecx
mov dword [ebp - 0x6dc], esi
cmp dword [esi + 0x10], 0
jne 0x4089d8
xor al, al
jmp 0x409186
lea eax, [ebp - 0x704]
mov dword [ebp - 0x708], 0
mov dword [ebp - 0x6c0], eax
push 1
mov dword [ebp - 4], 0
call fcn.004143ed
add esp, 4
mov dword [ebp - 0x6f8], eax
lea ecx, [ebp - 0x704]
mov dword [ebp - 4], 1
call fcn.00409ad0
mov dword [ebp - 4], 2
push dword [ebp - 0x6dc]
push ecx
push 0x43a32e
push str._httphttps_:___www.__ya_ndex___.w2_3_1_2____yandsearch_
lea ecx, [ebp - 0x708]
call fcn.00409f80
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x438]
push 9
xor eax, eax
mov dword [ebp - 0x428], 0
push str..website
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.00404280
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
mov edx, esi
lea ecx, [ebp - 0x450]
call fcn.00405fa0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x408acf
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ac5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a1
push edx
push ecx
call fcn.004152ff
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x6d4], 0
xor edi, edi
mov dword [ebp - 0x6c8], ecx
mov dword [ebp - 0x6d0], edi
mov dword [ebp - 0x6cc], ecx
push 0x410
push ecx
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x6c0], 7
mov dword [ebp - 0x6c4], 0x410
call fcn.00417b20
lea eax, [ebp - 0x6c0]
mov edx, str.SoftwareYandexYaPinLancher
push eax
lea eax, [ebp - 0x6c4]
mov ecx, 0x80000001
push eax
lea eax, [ebp - 0x420]
push eax
push str.RegExp
call fcn.00413640
add esp, 0x1c
lea esi, [ebp - 0x420]
nop dword [eax + eax]
cmp word [esi], 0
je 0x408c6f
mov ecx, esi
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.00404280
mov byte [ebp - 4], 8
cmp dword [ebp - 0x6c8], edi
je 0x408be6
movups xmm0, xmmword [ebp - 0x438]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6d0], edi
jmp 0x408c11
lea eax, [ebp - 0x438]
push eax
push edi
lea ecx, [ebp - 0x6d4]
call fcn.00406830
mov eax, dword [ebp - 0x6cc]
mov edi, dword [ebp - 0x6d0]
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x6c8], eax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x408c4f
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a1
push edx
push ecx
call fcn.004152ff
add esp, 8
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408c54
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
jne 0x408b50
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.00417b20
mov esi, dword [ebp - 0x6d4]
add esp, 0xc
mov byte [ebp - 0x6b9], 0
mov dword [ebp - 0x6c0], 0
nop dword [eax]
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x6b8]
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6c4], eax
cmp eax, 0xffffffff
je 0x408fd1
xor eax, eax
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x68c]
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408cf7
sub ecx, edx
lea eax, [ebp - 0x68c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.00404280
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6dc]
lea ecx, [ebp - 0x438]
push eax
call fcn.00405fa0
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x408d7c
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a1
push edx
push ecx
call fcn.004152ff
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00417b20
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push 0x43a7cc
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
je 0x408f37
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40904e
cmp esi, edi
je 0x408f31
nop word [eax + eax]
lea eax, [ebp - 0x6f0]
mov dword [ebp - 0x6f4], 0
mov dword [ebp - 0x6e0], eax
push 1
mov byte [ebp - 4], 0xc
call fcn.004143ed
add esp, 4
mov dword [ebp - 0x6e4], eax
lea ecx, [ebp - 0x6f0]
mov byte [ebp - 4], 0xd
call fcn.00409ad0
mov byte [ebp - 4], 0xe
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x408e47
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
mov eax, esi
jb 0x408e53
mov eax, dword [esi]
push dword [ebp - 0x6e0]
push ecx
push ecx
push eax
lea ecx, [ebp - 0x6f4]
call fcn.00409f80
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xf
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408e74
sub eax, edx
lea edx, [ebp - 0x218]
sar eax, 1
push ecx
push 0x10
lea edx, [edx + eax*2]
lea eax, [ebp - 0x6f4]
push eax
push ecx
lea ecx, [ebp - 0x218]
call fcn.0040a5d0
add esp, 0x10
test al, al
je 0x408eda
mov ecx, dword [ebp - 0x6d8]
lea eax, [ebp - 0x438]
cmp ecx, eax
je 0x408ed3
cmp dword [ebp - 0x424], 8
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00404280
mov byte [ebp - 0x6b9], 1
mov ecx, dword [ebp - 0x6f4]
test ecx, ecx
je 0x408efb
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x408efb
mov ecx, dword [ebp - 0x6f4]
xor edx, edx
call fcn.00408720
mov dword [ebp - 0x6f4], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x6e4]
test ecx, ecx
je 0x408f26
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x408f26
mov eax, dword [ecx]
push 1
call dword [eax]
add esi, 0x18
cmp esi, edi
jne 0x408e00
mov esi, dword [ebp - 0x6d4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x408f7b
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a1
push edx
push ecx
call fcn.004152ff
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x6b8]
push eax
push dword [ebp - 0x6c4]
mov dword [ebp - 0x424], 7
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x408fbc
cmp byte [ebp - 0x6b9], 0
je 0x408cd1
push dword [ebp - 0x6c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x6b9], 0
jne 0x408ff2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x6c0]
inc eax
mov dword [ebp - 0x6c0], eax
cmp eax, 0xa
jl 0x408ca0
mov byte [ebp - 4], 6
test esi, esi
je 0x4090d0
push ecx
mov edx, edi
mov ecx, esi
call fcn.004069a0
mov ecx, dword [ebp - 0x6c8]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4090c6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a6
jmp 0x4090c6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409057
sub ecx, edx
lea eax, [ebp - 0x708]
sar ecx, 1
lea edx, [ebp - 0x218]
push ecx
push 0x10
push eax
lea edx, [edx + ecx*2]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0040a5d0
add esp, 0x10
test al, al
je 0x408f37
mov ecx, dword [ebp - 0x6d8]
lea eax, [ebp - 0x438]
cmp ecx, eax
je 0x4090ba
cmp dword [ebp - 0x424], 8
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00404280
mov byte [ebp - 0x6b9], 1
jmp 0x408f37
push ecx
push esi
call fcn.004152ff
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x409114
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40910a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091ab
push edx
push ecx
call fcn.004152ff
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x708]
mov dword [ebp - 0x43c], 7
test eax, eax
je 0x409152
or esi, 0xffffffff
lock xadd dword [eax + 0x20], esi
jne 0x409152
mov ecx, dword [ebp - 0x708]
xor edx, edx
call fcn.00408720
mov dword [ebp - 0x708], 0
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x6f8]
test ecx, ecx
je 0x409180
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x409180
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0x6b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415024
mov esp, ebp
pop ebp
ret
call fcn.0041b091
call fcn.0041b091
call fcn.0041b091
int3