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

Disassembly:
push 0xffffffffffffffff
push 0x4817fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa18
mov eax, dword [0x4ac588]
push ebp
mov dword [esp + 0xa18], eax
mov eax, dword [esp + 0xa2c]
push esi
mov ebp, ecx
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.00401ac0
mov dword [esp + 0xa28], esi
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xa28], 1
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa28], 2
call fcn.00460197
lea ecx, [esp + 0x74]
mov byte [esp + 0xa28], 3
call fcn.00460197
lea ecx, [esp + 0x34]
mov byte [esp + 0xa28], 4
call fcn.004416f0
mov eax, dword [esp + 0xa38]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [0x4adff4]
add ecx, 0x1324
mov byte [esp + 0xa2c], 5
call fcn.0042e840
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, esi
jl 0x409a26
cmp eax, ecx
jg 0x409a26
movsx edx, byte [eax + edx]
sub edx, 0x5c
je 0x4090ac
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00407bd0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.00401900
push 3
push 0x48995c
lea ecx, [esp + 0x18]
call fcn.00401870
push 0xa
lea ecx, [esp + 0x8c]
call fcn.00460d94
mov ecx, dword [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa30], 6
call fcn.00441783
cmp eax, esi
jne 0x4091ba
lea ecx, [esp + 0x88]
mov byte [esp + 0xa28], 5
call fcn.00460f10
lea ecx, [esp + 0x34]
mov byte [esp + 0xa28], 4
call fcn.00441714
lea ecx, [esp + 0x74]
mov byte [esp + 0xa28], 3
call fcn.004601e9
lea ecx, [esp + 0x60]
mov byte [esp + 0xa28], 2
call fcn.004601e9
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0xa28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xa28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40918a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0xa28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x4096c0
push edi
mov edi, dword [esp + 0xa38]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], 1
push ebx
lea ecx, [esp + 0x3c]
call fcn.004414d1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x40]
call fcn.004419ab
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa34], 7
call fcn.00401900
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x3c]
call fcn.004416b7
test eax, eax
jne 0x40957e
mov eax, dword [esp + 0x3c]
push 0x10
lea ecx, [esp + 0x40]
call dword [eax + 0x38]
test eax, eax
jne 0x40957e
push 4
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402c30
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
or ecx, 1
push str..url
push eax
mov byte [esp + 0xa38], 8
mov dword [esp + 0x1c], ecx
call fcn.0044b736
add esp, 8
test eax, eax
je 0x4092b2
push 4
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.00402c30
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
or ecx, 2
push 0x487ed4
push eax
mov dword [esp + 0x1c], ecx
call fcn.0044b736
add esp, 8
test eax, eax
je 0x4092b2
mov bl, 1
jmp 0x4092b4
xor bl, bl
test byte [esp + 0x14], 2
je 0x4092e4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
and edx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test byte [esp + 0x14], 1
mov dword [esp + 0xa30], 6
je 0x40931f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
and edx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x14], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40931f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x40957e
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.00460e70
test eax, eax
jne 0x409592
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x94]
call fcn.00460f37
mov dword [eax], ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.004019b0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x800
lea eax, [esp + 0x22c]
push eax
push 0
push 0x489958
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0x800
ja 0x40957e
mov al, byte [esp + esi + 0x224]
test al, al
jne 0x40957e
push 4
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402c30
push 0x487ed4
push eax
call fcn.00404c60
add esp, 8
lea ecx, [esp + 0x38]
mov bl, al
call fcn.00401440
test bl, bl
je 0x409472
push 0x489954
lea ecx, [ebp + 0x260]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00407d70
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xa48], 9
call fcn.004019b0
add esp, 0x18
lea ecx, [esp + 0x54]
mov byte [esp + 0xa30], 0xb
call fcn.00401440
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x224]
push eax
push ecx
mov ecx, ebp
call fcn.00406ff0
test eax, eax
jne 0x409461
push str.about:blank
lea ecx, [esp + 0x14]
call fcn.00401a80
lea ecx, [esp + 0x30]
mov byte [esp + 0xa30], 6
call fcn.00401440
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00407ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa34], 0xc
call fcn.00401900
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa30], 6
call fcn.00401440
mov ebx, dword [esp + 0xa3c]
cmp ebx, edi
mov esi, ebx
jge 0x4094f0
jmp 0x4094c0
test esi, esi
jl 0x409a21
cmp esi, dword [esp + 0x70]
jge 0x409a21
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + esi*4]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0044b736
add esp, 8
test eax, eax
jl 0x4094f0
inc esi
cmp esi, edi
jl 0x4094c0
push 1
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.004603c2
push 1
lea ecx, [esp + 0x228]
push ecx
push esi
lea ecx, [ebp + 0x1a8]
call fcn.004603f7
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x40]
call fcn.0044190c
mov ecx, dword [0x4adff4]
lea eax, [esp + 0x28]
push eax
push esi
add ecx, 0x1324
mov byte [esp + 0xa38], 0xd
call fcn.0042ea50
inc edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
cmp eax, 0x12
mov eax, dword [esp + 0x28]
mov byte [esp + 0xa30], 6
je 0x4096e5
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40957e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x104
mov dword [esp + 0x24], eax
jl 0x4091d3
mov ebx, dword [esp + 0xa3c]
lea ecx, [esp + 0x3c]
call fcn.00441401
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa44]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0xa44]
push ecx
push ebx
push edx
push eax
mov ecx, ebp
call fcn.00407ff0
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0xe4], eax
mov ecx, 0x4f
lea edi, [esp + 0xe8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xe4]
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
jne 0x409705
lea ecx, [esp + 0x90]
mov byte [esp + 0xa30], 5
call fcn.00460f10
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa30], 4
call fcn.00441714
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa30], 3
call fcn.004601e9
lea ecx, [esp + 0x68]
mov byte [esp + 0xa30], 2
call fcn.004601e9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 1
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40966d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409693
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xa30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4096bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop ebx
pop edi
mov ecx, dword [esp + 0xa20]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa18]
pop ebp
call fcn.0044af18
add esp, 0xa24
ret 0x10
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409599
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x409599
lea eax, [esp + 0xe4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x409945
lea esp, [esp]
lea eax, [esp + 0x110]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409730
sub eax, edx
push eax
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401710
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, 8
jge 0x4097a7
lea esi, [eax - 0x10]
cmp esi, esi
je 0x4097a7
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409798
mov edx, dword [esi]
mov ebx, edx
cmp edx, ebx
jne 0x409798
push esi
call fcn.00401250
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40978f
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [esp + 0x10], eax
jmp 0x4097a7
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401710
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x409a17
cmp byte [eax], 0x2e
je 0x409926
test byte [esp + 0xe4], 0x10
je 0x409926
mov ecx, dword [esp + 0x14]
xor esi, esi
test ecx, ecx
jle 0x409812
mov edi, ecx
jmp 0x4097e0
mov eax, dword [esp + 0x10]
jmp 0x4097e0
test esi, esi
jl 0x409a21
cmp esi, dword [esp + 0x84]
jge 0x409a21
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + esi*4]
push eax
push ecx
call fcn.0044b736
add esp, 8
test eax, eax
jg 0x409812
inc esi
cmp esi, edi
jl 0x4097d7
lea ecx, [esp + 0xac]
call fcn.00422e30
mov byte [esp + 0xa30], 0xe
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0xb0]
call fcn.00467107
mov edx, dword [esp + 0xa44]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xe8]
push 0xffff0002
push edx
push 0
push 0
push 0
push 2
push 1
push eax
push 0x23
call fcn.0045f055
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
mov esi, eax
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004019b0
add esp, 0xc
mov edi, dword [esp + 0x20]
mov eax, dword [eax]
push esi
lea ecx, [esp + 0xb0]
push ecx
push edi
push eax
mov ecx, ebp
mov byte [esp + 0xa40], 0xf
call fcn.00408fb0
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4098c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
sub eax, edi
je 0x409912
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xa44]
push edx
push 0x410
push 3
mov dword [esp + 0x30], esi
call fcn.00423170
lea ecx, [esp + 0xac]
call fcn.00467134
push 1
lea eax, [esp + 0x14]
push eax
push 3
lea ecx, [esp + 0x88]
call fcn.004603c2
inc dword [esp + 0x14]
lea ecx, [esp + 0xac]
mov byte [esp + 0xa30], 6
call fcn.00422940
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409720
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x90]
mov byte [esp + 0xa30], 5
call fcn.00460f10
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa30], 4
call fcn.00441714
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa30], 3
call fcn.004601e9
lea ecx, [esp + 0x68]
mov byte [esp + 0xa30], 2
call fcn.004601e9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xa30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4099e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xa30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
jmp 0x4096be
push 0x80070057
call fcn.00401130
call fcn.0045e516
push 0x80070057
call fcn.00401130
int3