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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
push esi
push edi
push 0x208
push 0
lea eax, [ebp - 0x2c8]
push eax
call fcn.00408d30
add esp, 0xc
push 0x250
push 0
lea ecx, [ebp - 0x518]
push ecx
call fcn.00408d30
add esp, 0xc
mov edx, 0x2e
mov word [ebp - 0x70], dx
xor eax, eax
mov word [ebp - 0x6e], ax
mov ecx, 0x2e
mov word [ebp - 0x78], cx
mov edx, 0x2e
mov word [ebp - 0x76], dx
xor eax, eax
mov word [ebp - 0x74], ax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x2c8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x58]
mov dx, word [ecx]
mov word [ebp - 2], dx
mov eax, dword [ebp - 0x20]
mov cx, word [ebp - 2]
mov word [eax], cx
mov edx, dword [ebp - 0x58]
add edx, 2
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
cmp word [ebp - 2], 0
jne 0x403097
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 2
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x18]
mov cx, word [eax]
mov word [ebp - 0x5e], cx
add dword [ebp - 0x18], 2
cmp word [ebp - 0x5e], 0
jne 0x4030d9
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x84]
sar edx, 1
mov dword [ebp - 0x88], edx
mov eax, 0x5c
mov ecx, dword [ebp - 0x88]
mov word [ebp + ecx*2 - 0x2c8], ax
lea edx, [ebp - 0x2c8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
mov word [ebp - 0x42], dx
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x42], 0
jne 0x403127
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x8c]
sar eax, 1
mov dword [ebp - 0x90], eax
mov ecx, 0x2a
mov edx, dword [ebp - 0x90]
mov word [ebp + edx*2 - 0x2c8], cx
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x2c8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x403184
xor eax, eax
jmp 0x40346b
lea edx, [ebp - 0x2c8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [ebp - 0x44], dx
add dword [ebp - 8], 2
cmp word [ebp - 0x44], 0
jne 0x403199
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x94]
sar eax, 1
mov dword [ebp - 0x98], eax
xor ecx, ecx
mov edx, dword [ebp - 0x98]
mov word [ebp + edx*2 - 0x2ca], cx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov ax, word [edx]
mov word [ebp - 0x46], ax
mov ecx, dword [ebp - 0x28]
cmp ax, word [ecx]
jne 0x403223
cmp word [ebp - 0x46], 0
je 0x40321a
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 2]
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x28]
cmp ax, word [ecx + 2]
jne 0x403223
add dword [ebp - 0x24], 4
add dword [ebp - 0x28], 4
cmp word [ebp - 0x48], 0
jne 0x4031de
mov dword [ebp - 0x64], 0
jmp 0x40322b
sbb edx, edx
or edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x403446
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x4ec]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax]
mov word [ebp - 0x54], cx
mov edx, dword [ebp - 0x30]
cmp cx, word [edx]
jne 0x403295
cmp word [ebp - 0x54], 0
je 0x40328c
mov eax, dword [ebp - 0x2c]
mov cx, word [eax + 2]
mov word [ebp - 0x4a], cx
mov edx, dword [ebp - 0x30]
cmp cx, word [edx + 2]
jne 0x403295
add dword [ebp - 0x2c], 4
add dword [ebp - 0x30], 4
cmp word [ebp - 0x4a], 0
jne 0x403250
mov dword [ebp - 0x68], 0
jmp 0x40329d
sbb eax, eax
or eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0
je 0x403446
lea edx, [ebp - 0x4ec]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx]
mov word [ebp - 0x4c], dx
add dword [ebp - 0xc], 2
cmp word [ebp - 0x4c], 0
jne 0x4032c2
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0x2c8]
add edx, 0xfffffffe
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 2]
mov word [ebp - 0x4e], cx
add dword [ebp - 0x34], 2
cmp word [ebp - 0x4e], 0
jne 0x4032f8
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x518]
and eax, 0x10
je 0x40334b
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c8]
push edx
call fcn.00403000
add esp, 8
jmp 0x40339e
mov eax, dword [ebp - 0x4f8]
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x4fc]
xor eax, eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov cl, 0x20
call fcn.00407f20
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x40]
mov eax, dword [ecx + 4]
adc eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x5c], 0
jmp 0x4033b0
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x10]
mov ax, word [edx]
mov word [ebp - 0x50], ax
add dword [ebp - 0x10], 2
cmp word [ebp - 0x50], 0
jne 0x4033c5
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xac]
sar ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0xb0]
jae 0x403446
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ebp - 0x52], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0x52], 0
jne 0x40340b
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xb4]
sar ecx, 1
mov dword [ebp - 0xb8], ecx
xor edx, edx
mov eax, dword [ebp - 0xb8]
mov word [ebp + eax*2 - 0x2ca], dx
jmp 0x4033a7
lea ecx, [ebp - 0x518]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4031cf
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret