Function at 0x4c09b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c9c6
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x388], eax
cmp byte [eax + 0x34], 0
mov esi, dword [ebp + 8]
je 0x4c09f6
xor al, al
jmp 0x4c12d1
xor ebx, ebx
mov dword [ebp - 0x37c], ebx
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 4], ebx
call fcn.0040baa0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x380], eax
push ecx
mov ecx, eax
call fcn.0042fb90
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
test esi, esi
je 0x4c0a61
cmp word [esi], ax
je 0x4c0a61
push esi
lea ecx, [ebp - 0x70]
call fcn.00403ef0
jmp 0x4c0afe
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406ac0
push str.plugins
lea ecx, [ebp - 0x88]
call fcn.004029a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00423c40
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp eax, 8
jb 0x4c0ab4
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4c0ae7
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
xor eax, eax
mov dword [ebp - 0x90], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa0], ax
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x8c], 0
push eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
call fcn.00406ac0
mov byte [ebp - 4], 4
xor eax, eax
push 3
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x588410
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406c80
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00423c40
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp eax, 8
jb 0x4c0ba6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c0bd3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x8c], 8
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], 0
jae 0x4c0bfc
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x368]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x384], esi
mov dword [ebp - 0x36c], edi
cmp esi, edi
je 0x4c1117
test byte [ebp - 0x368], 0x10
je 0x4c1117
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004029a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd0]
push 0x58823c
push eax
call fcn.0043af90
add esp, 8
test al, al
je 0x4c0dc7
lea eax, [ebp - 0xd0]
push 0x588418
push eax
call fcn.0043af90
add esp, 8
test al, al
je 0x4c0dc7
cmp dword [ebp - 0xbc], 8
mov eax, dword [ebp - 0xd0]
jae 0x4c0c93
lea eax, [ebp - 0xd0]
push str.Config
push eax
call fcn.00556ec0
add esp, 8
test eax, eax
je 0x4c0dc7
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402970
mov byte [ebp - 4], 7
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00423c40
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.004038c0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x100]
call fcn.00402970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x100]
push str..dll
call fcn.0040a2e0
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00423c40
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.004038c0
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4c0d35
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x368]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x36c], eax
cmp edi, 0xffffffff
je 0x4c0dac
test byte [ebp - 0x368], 0x10
jne 0x4c0dac
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x37c]
call fcn.00410db0
mov esi, dword [ebp - 0x380]
lea eax, [ebp - 0xd0]
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x370], esp
push eax
call fcn.00402970
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea ecx, [esi + 0x231c8]
call fcn.004bf430
mov ebx, dword [ebp - 0x37c]
mov esi, dword [ebp - 0x384]
mov dword [ebp - 0x370], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.004038c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.004038c0
lea eax, [ebp - 0x368]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4c1108
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x33c], ax
jne 0x4c0e0f
xor ecx, ecx
jmp 0x4c0e2f
lea ecx, [ebp - 0x33c]
lea edx, [ecx + 2]
jmp 0x4c0e20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0e20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406c80
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x40]
mov ecx, ebx
cmp edx, 8
jae 0x4c0e53
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
cmp edi, 1
jae 0x4c0e63
mov esi, edi
test edi, edi
jne 0x4c0e68
jmp 0x4c0e8b
mov esi, 1
mov edx, 0x58823c
test esi, esi
je 0x4c0e88
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4c1099
add ecx, 2
add edx, 2
sub esi, 1
jne 0x4c0e71
mov edx, dword [ebp - 0x2c]
xor eax, eax
test eax, eax
jne 0x4c0e9c
cmp edi, 1
jb 0x4c0e9c
jbe 0x4c10ad
mov eax, ebx
cmp edx, 8
jae 0x4c0ea6
lea eax, [ebp - 0x40]
push 2
push 0x588418
push edi
push eax
call fcn.00406240
add esp, 0x10
test eax, eax
je 0x4c10ad
cmp dword [ebp - 0x2c], 8
jae 0x4c0ec8
lea ebx, [ebp - 0x40]
push str.Config
push ebx
call fcn.00556ec0
add esp, 8
test eax, eax
je 0x4c10ad
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00406ac0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00423c40
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.004038c0
xor eax, eax
mov dword [ebp - 0xa8], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0xb8], ax
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], 0
push eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
call fcn.00406ac0
mov byte [ebp - 4], 0xc
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
call fcn.00406ac0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
push 4
push str..dll
call fcn.00406760
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00423c40
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.004038c0
mov eax, dword [ebp - 0x36c]
test eax, eax
je 0x4c0fff
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4c100b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x368]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x36c], edi
cmp edi, 0xffffffff
je 0x4c106d
test byte [ebp - 0x368], 0x10
jne 0x4c106d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x37c]
call fcn.00410db0
mov esi, dword [ebp - 0x380]
lea eax, [ebp - 0x40]
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x370], esp
push eax
call fcn.00402970
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x231c8]
call fcn.004bf430
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.004038c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb8]
call fcn.004038c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004038c0
jmp 0x4c10b3
movzx eax, word [ecx]
cmp ax, word [edx]
mov edx, dword [ebp - 0x2c]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x4c0e8d
mov edi, dword [ebp - 0x36c]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4c10cc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
mov esi, dword [ebp - 0x384]
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x368]
push eax
push esi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c0de0
mov ebx, dword [ebp - 0x37c]
mov dword [ebp - 0x370], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.004038c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x378]
mov eax, 0x2aaaaaab
mov ecx, esi
sub ecx, ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x4c1178
mov esi, ebx
mov ebx, dword [ebp - 0x388]
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x4c115a
mov eax, dword [esi]
jmp 0x4c115c
mov eax, esi
push eax
mov ecx, ebx
call fcn.004c00e0
add esi, 0x18
sub edi, 1
jne 0x4c1150
mov ebx, dword [ebp - 0x370]
mov esi, dword [ebp - 0x378]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x4c119a
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4c11d0
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xd4]
cmp eax, 8
jb 0x4c1205
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4c12cf
push dword [ebp - 0x388]
lea ecx, [ebp - 0x37c]
push ecx
push esi
push ebx
call fcn.00401f90
mov ecx, dword [ebp - 0x374]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x4c126d
call fcn.00547c01
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x4c12a8
test bl, 0x1f
je 0x4c1284
call fcn.00547c01
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4c1290
call fcn.00547c01
sub ebx, eax
cmp ebx, 4
jae 0x4c129c
call fcn.00547c01
cmp ebx, 0x23
jbe 0x4c12a6
call fcn.00547c01
mov ebx, eax
push ebx
call fcn.0052bd72
add esp, 4
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 4