Function at 0x438fa0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Print debug messages

Disassembly:
mov eax, 0x33c8
call fcn.00531740
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0
push 0x410
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebp
call fcn.00532596
mov esi, eax
push 0x410
mov dword [esp + 0x24], esi
call fcn.00532596
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x33dc]
push eax
push esi
mov dword [esp + 0x28], ebx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
je 0x439018
push 0x546f04
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push ebx
call edi
push 0x54749c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4395da
mov eax, dword [0x55554c]
cmp eax, 0x14
jle 0x43909e
mov edx, dword [0x553d9c]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x294]
mov dword [esp + 0x290], edx
lea edx, [esp + 0x290]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x208]
mov ecx, dword [eax + 0xc]
push ecx
push str.Items:_d
push edx
call fcn.00532039
mov ecx, dword [ebp + 0x240]
add esp, 0xc
lea eax, [esp + 0x290]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
inc eax
mov dword [0x55554c], eax
jmp 0x4390ae
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x40]
mov ecx, ebp
push edx
call fcn.00438bd0
test eax, eax
je 0x4390e6
cmp word [esp + 0x6c], 0x2e
jne 0x4390e6
mov ax, word [esp + 0x6e]
test ax, ax
je 0x4395af
cmp ax, 0x2e
jne 0x4390e6
cmp word [esp + 0x70], 0
je 0x4395af
push 0x410
call fcn.00532596
add esp, 4
mov ebp, eax
push ebx
push ebp
mov word [ebp], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x6c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [esp + 0x33e0]
test eax, eax
je 0x43933e
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00438bd0
test eax, eax
je 0x43933e
mov eax, dword [esp + 0x40]
test al, 2
jne 0x439328
test ah, 4
jne 0x439328
mov eax, dword [esp + 0x33e8]
test eax, eax
je 0x4392fe
mov edx, dword [0x546560]
test ebp, ebp
mov dword [esp + 0x10], edx
je 0x4391b3
mov eax, ebp
shr eax, 0x10
jne 0x439181
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x14]
call fcn.00413c90
jmp 0x4391b3
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4391b3
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4391b3
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, ebp
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 [esp + 0x18]
mov ecx, 0x294
lea edi, [esp + 0x290]
mov ebx, dword [eax + 0x208]
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1f38]
call fcn.00405440
mov ecx, 0x294
lea esi, [esp + 0x290]
lea edi, [esp + 0x1f38]
lea edx, [esp + 0x1f34]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, ebx
call fcn.0043cfd0
mov esi, dword [eax]
lea ecx, [esp + 0x1f34]
call fcn.00405700
lea edi, [esi + 0x10]
mov ecx, 0x94
lea esi, [esp + 0x40]
mov dword [esp + 0x28], edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x43923f
mov edx, dword [eax - 4]
test edx, edx
jge 0x43929f
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x24], esi
jle 0x43924c
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x43929f
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
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 [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [eax - 8], ecx
mov eax, dword [0x546564]
cmp ebx, eax
je 0x43929b
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43929b
push ebx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x33ec]
lea esi, [edx + 0x250]
lea edx, [eax + ecx*2]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x54681c
call esi
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4392fa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4392fa
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x33ec]
mov ecx, dword [esp + 0x33e8]
mov edx, dword [esp + 0x33e4]
push eax
mov eax, dword [esp + 0x33e4]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ebp
call fcn.00438fa0
test ebp, ebp
je 0x4395af
push ebp
call fcn.00531ee2
add esp, 4
jmp 0x4395af
mov eax, dword [esp + 0x33e4]
test eax, eax
je 0x4395af
mov ecx, dword [0x546560]
lea edx, [esp + 0x6c]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x4393b5
lea eax, [esp + 0x6c]
shr eax, 0x10
jne 0x43937d
xor ecx, ecx
lea edx, [esp + 0x6c]
mov cx, dx
push ecx
lea ecx, [esp + 0x14]
call fcn.00413c90
jmp 0x4393b5
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4393b5
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4393b5
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x410
call fcn.00532596
mov ecx, dword [esp + 0x24]
add esp, 4
mov ebx, eax
push ecx
push ebx
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x6c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [0x546560]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x43944f
mov ecx, ebx
shr ecx, 0x10
jne 0x43941d
mov edx, ebx
lea ecx, [esp + 0x14]
and edx, 0xffff
push edx
call fcn.00413c90
jmp 0x43944f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x43944f
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43944f
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi]
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
xor eax, eax
lea edi, [esp + 0x2988]
lea edx, [esp + 0x14]
mov ebp, dword [ecx + 0x208]
mov ecx, 0x294
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x14e4]
call fcn.00405440
mov ecx, 0x294
lea esi, [esp + 0x2988]
lea edi, [esp + 0x14e4]
lea eax, [esp + 0x14e0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, ebp
call fcn.0043cfd0
mov esi, dword [eax]
lea ecx, [esp + 0x14e0]
call fcn.00405700
lea edi, [esi + 0x10]
mov ecx, 0x94
lea esi, [esp + 0x40]
mov dword [esp + 0x24], edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4394db
mov edx, dword [eax - 4]
test edx, edx
jge 0x439524
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x28], esi
jle 0x4394e8
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x439524
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [eax - 8], ecx
call fcn.00405590
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x33ec]
mov ecx, dword [esp + 0x24]
add ecx, 0x250
lea eax, [eax + edx*2]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, ebx
je 0x43954d
push ebx
call fcn.00531ee2
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43957c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43957c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4395ab
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4395ab
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4390a6
test edi, edi
je 0x4395d2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
test ebx, ebx
je 0x4395e7
push ebx
call fcn.00531ee2
add esp, 4
test esi, esi
je 0x4395f4
push esi
call fcn.00531ee2
add esp, 4
mov ecx, dword [0x553d9c]
mov edx, dword [ebp + 0x208]
mov dword [esp + 0xce0], ecx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xce4]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0xce0]
push eax
push str.Items:_d
push ecx
call fcn.00532039
mov eax, dword [ebp + 0x240]
add esp, 0xc
lea edx, [esp + 0xce0]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
mov dword [0x55554c], 0
pop ebx
add esp, 0x33c8
ret 0x14