Function at 0x4351a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498008
mov eax, dword fs:[0]
push eax
sub esp, 0x918
mov eax, dword [0x4d406c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x90c], ebx
mov esi, ecx
mov dword [ebp - 0x904], esi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x908], eax
mov dword [ebp - 0x914], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x910], edi
call fcn.0045f220
add esp, 0xc
lea eax, [ebp - 0x21c]
push esi
push 0x104
push eax
call fcn.00465e3d
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x4bb72c
push 0x104
push eax
call fcn.00465e3d
add esp, 0xc
lea eax, [ebp - 0x8bc]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x900], eax
cmp eax, 0xffffffff
je 0x43579d
nop dword [eax + eax]
cmp word [ebp - 0x890], 0x2e
je 0x43577a
test byte [ebp - 0x8bc], 0x10
je 0x4352c4
push 0x208
lea eax, [ebp - 0x62c]
push 0
push eax
call fcn.0045f220
add esp, 0xc
lea eax, [ebp - 0x890]
push eax
push esi
push str._s_s
lea eax, [ebp - 0x62c]
push 0x104
push eax
call fcn.00420ff0
add esp, 0x14
lea ecx, [ebp - 0x62c]
mov edx, ebx
push edi
call fcn.004351a0
add esp, 4
jmp 0x435774
lea eax, [ebp - 0x890]
push str..dll
push eax
call fcn.0045e9a4
mov esi, eax
lea eax, [ebp - 0x890]
push str..exe
push eax
call fcn.0045e9a4
add esp, 0x10
mov ecx, eax
test esi, esi
je 0x435325
mov eax, str..dll
mov dx, word [esi]
cmp dx, word [eax]
jne 0x43531c
test dx, dx
je 0x435318
mov dx, word [esi + 2]
cmp dx, word [eax + 2]
jne 0x43531c
add esi, 4
add eax, 4
test dx, dx
jne 0x4352f6
xor eax, eax
jmp 0x435321
sbb eax, eax
or eax, 1
test eax, eax
je 0x435365
test ecx, ecx
je 0x43576e
mov eax, str..exe
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x435358
test dx, dx
je 0x435354
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x435358
add ecx, 4
add eax, 4
test dx, dx
jne 0x435332
xor eax, eax
jmp 0x43535d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43576e
xor eax, eax
mov dword [ebp - 0x8c4], 0
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x8c0], 7
mov word [ebp - 0x8d4], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435390
sub ecx, edx
lea eax, [ebp - 0x890]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8d4]
call fcn.00405220
cmp dword [ebp - 0x8c0], 8
lea ecx, [ebp - 0x8d4]
mov edx, dword [ebp - 0x8d4]
lea edi, [ebp - 0x8d4]
mov eax, dword [ebp - 0x8c4]
lea ebx, [ebp - 0x8d4]
cmovae ecx, edx
cmovae edi, edx
cmovae ebx, edx
xor esi, esi
xor edx, edx
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, edi
inc ecx
shr ecx, 1
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x914], ecx
test ecx, ecx
je 0x43541c
sub ebx, edi
nop
movzx eax, word [edi]
push eax
call fcn.00466232
inc esi
mov word [ebx + edi], ax
add esp, 4
lea edi, [edi + 2]
cmp esi, dword [ebp - 0x914]
jne 0x435400
mov esi, dword [0x4dfc80]
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x91c]
push eax
call fcn.004358f0
lea ecx, [ebp - 0x8d4]
mov edi, dword [eax]
call fcn.004054f0
cmp edi, esi
je 0x4357b9
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0045f220
mov esi, dword [ebp - 0x904]
lea eax, [ebp - 0x890]
add esp, 0xc
push eax
push esi
push str._s_s
lea eax, [ebp - 0x424]
push 0x104
push eax
call fcn.00420ff0
add esp, 0x14
mov ecx, str.Wintrust.dll
call fcn.0044be50
test eax, eax
jne 0x43549c
mov al, 1
jmp 0x435596
push str.WinVerifyTrust
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4354b3
mov al, 1
jmp 0x435596
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x8fc], 0x10
mov dword [ebp - 0x8f8], ecx
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8d4], ecx
lea ecx, [ebp - 0x8ec]
push ecx
lea ecx, [ebp - 0x63c]
mov dword [ebp - 0x8f4], 0
push ecx
push 0
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0x63c], 0xaac56b
mov dword [ebp - 0x638], 0x11d0cd44
mov dword [ebp - 0x634], 0xc000c28c
mov dword [ebp - 0x630], 0xee95c24f
mov dword [ebp - 0x8ec], 0x30
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8e4], 0
mov dword [ebp - 0x8e0], 2
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 1
mov dword [ebp - 0x8d0], 0
mov dword [ebp - 0x8cc], 0
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8c4], 0x100
mov dword [ebp - 0x8c0], 0
call eax
test eax, eax
sete al
test al, al
jne 0x4357c1
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x8d4]
call fcn.00405370
mov ecx, dword [ebp - 0x910]
lea eax, [ebp - 0x8d4]
push eax
mov dword [ebp - 4], 0
call fcn.0042aa60
lea ecx, [ebp - 0x8d4]
call fcn.004054f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x890]
xor eax, eax
mov dword [ebp - 0x65c], 0
mov word [ebp - 0x66c], ax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x908]
or eax, 1
mov dword [ebp - 0x658], 7
mov dword [ebp - 0x908], eax
mov dword [ebp - 0x914], eax
xor eax, eax
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x640], 7
mov word [ebp - 0x654], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435633
sub ecx, edx
lea eax, [ebp - 0x890]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x654]
call fcn.00405220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x654]
cmp dword [ebp - 0x640], 8
lea edi, [ebp - 0x654]
mov edx, dword [ebp - 0x654]
lea ebx, [ebp - 0x654]
mov eax, dword [ebp - 0x644]
cmovae ecx, edx
cmovae edi, edx
cmovae ebx, edx
xor edx, edx
xor esi, esi
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, edi
inc ecx
shr ecx, 1
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x918], ecx
test ecx, ecx
je 0x4356c2
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00466232
inc esi
mov word [ebx + edi], ax
add esp, 4
lea edi, [edi + 2]
cmp esi, dword [ebp - 0x918]
jne 0x4356a6
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x920]
push eax
call fcn.004358f0
mov eax, dword [eax]
cmp eax, dword [0x4dfc80]
je 0x435705
add eax, 0x28
lea ecx, [ebp - 0x66c]
cmp ecx, eax
je 0x435705
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4356f6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x66c]
call fcn.00405220
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 1
call fcn.004054f0
mov ecx, dword [ebp - 0x65c]
mov ebx, dword [ebp - 0x90c]
test ecx, ecx
je 0x43574f
cmp dword [ebp - 0x658], 8
lea eax, [ebp - 0x66c]
push ecx
cmovae eax, dword [ebp - 0x66c]
mov ecx, ebx
push eax
call fcn.00404430
push 1
push 0x4bc914
mov ecx, ebx
call fcn.00404430
and dword [ebp - 0x908], 0xfffffffe
lea ecx, [ebp - 0x66c]
mov dword [ebp - 4], 0xffffffff
call fcn.004054f0
mov edi, dword [ebp - 0x910]
mov esi, dword [ebp - 0x904]
mov eax, dword [ebp - 0x900]
lea ecx, [ebp - 0x8bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x900]
jne 0x435260
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045cf38
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x90c]
jmp 0x435768
mov ebx, dword [ebp - 0x90c]
mov edi, dword [ebp - 0x910]
jmp 0x435774