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

Disassembly:
mov eax, 0x33c8
call fcn.00532230
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.00533086
mov esi, eax
push 0x410
mov dword [esp + 0x24], esi
call fcn.00533086
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 0x439168
push 0x547f14
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push ebx
call edi
push 0x5484ac
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 0x43972a
mov eax, dword [0x5565c4]
cmp eax, 0x14
jle 0x4391ee
mov edx, dword [0x554e0c]
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.00532b29
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 [0x5565c4], eax
jmp 0x4391fe
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x40]
mov ecx, ebp
push edx
call fcn.00438d20
test eax, eax
je 0x439236
cmp word [esp + 0x6c], 0x2e
jne 0x439236
mov ax, word [esp + 0x6e]
test ax, ax
je 0x4396ff
cmp ax, 0x2e
jne 0x439236
cmp word [esp + 0x70], 0
je 0x4396ff
push 0x410
call fcn.00533086
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 0x43948e
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00438d20
test eax, eax
je 0x43948e
mov eax, dword [esp + 0x40]
test al, 2
jne 0x439478
test ah, 4
jne 0x439478
mov eax, dword [esp + 0x33e8]
test eax, eax
je 0x43944e
mov edx, dword [0x547570]
test ebp, ebp
mov dword [esp + 0x10], edx
je 0x439303
mov eax, ebp
shr eax, 0x10
jne 0x4392d1
mov ecx, ebp
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x14]
call fcn.00413ae0
jmp 0x439303
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x439303
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x439303
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.0043d260
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 0x43938f
mov edx, dword [eax - 4]
test edx, edx
jge 0x4393ef
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x24], esi
jle 0x43939c
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4393ef
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 [0x547574]
cmp ebx, eax
je 0x4393eb
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4393eb
push ebx
call fcn.00532222
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 0x54782c
call esi
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43944a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43944a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
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.004390f0
test ebp, ebp
je 0x4396ff
push ebp
call fcn.005329d2
add esp, 4
jmp 0x4396ff
mov eax, dword [esp + 0x33e4]
test eax, eax
je 0x4396ff
mov ecx, dword [0x547570]
lea edx, [esp + 0x6c]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x439505
lea eax, [esp + 0x6c]
shr eax, 0x10
jne 0x4394cd
xor ecx, ecx
lea edx, [esp + 0x6c]
mov cx, dx
push ecx
lea ecx, [esp + 0x14]
call fcn.00413ae0
jmp 0x439505
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x439505
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x439505
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.00533086
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 [0x547570]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x43959f
mov ecx, ebx
shr ecx, 0x10
jne 0x43956d
mov edx, ebx
lea ecx, [esp + 0x14]
and edx, 0xffff
push edx
call fcn.00413ae0
jmp 0x43959f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x43959f
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43959f
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.0043d260
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 0x43962b
mov edx, dword [eax - 4]
test edx, edx
jge 0x439674
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x28], esi
jle 0x439638
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x439674
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 0x43969d
push ebx
call fcn.005329d2
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4396cc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4396cc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4396fb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4396fb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x4391f6
test edi, edi
je 0x439722
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
test ebx, ebx
je 0x439737
push ebx
call fcn.005329d2
add esp, 4
test esi, esi
je 0x439744
push esi
call fcn.005329d2
add esp, 4
mov ecx, dword [0x554e0c]
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.00532b29
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 [0x5565c4], 0
pop ebx
add esp, 0x33c8
ret 0x14