Function at 0x40363e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc7c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 0x184
push dword [0x41fe38]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0040201f
mov esi, dword [ebp + 8]
push 0x5c
pop edi
cmp word [esi], di
jne 0x403755
movzx eax, word [esi + 2]
cmp ax, bx
je 0x403688
cmp ax, di
jne 0x403755
lea eax, [esi + 4]
push edi
push eax
call fcn.004099a5
pop ecx
pop ecx
cmp eax, ebx
jne 0x4036b5
xor eax, eax
cmp word [esi + 2], di
setne al
dec eax
and eax, esi
push eax
call fcn.00403459
pop ecx
call fcn.004020e1
jmp 0x4038cc
cmp word [eax + 2], bx
jne 0x403755
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x86c]
push eax
call esi
lea eax, [ebp - 0x86c]
push eax
call fcn.00402335
call fcn.00403410
push ebx
call fcn.00403459
pop ecx
pop ecx
cmp dword [0x41fe4c], ebx
je 0x4038c9
call fcn.0040342c
jmp 0x40373f
push eax
lea eax, [ebp - 0xa74]
push eax
call esi
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0xa74]
push eax
call fcn.0040a549
add esp, 0xc
test eax, eax
jne 0x40373a
lea eax, [ebp - 0xa74]
push eax
call fcn.00403585
pop ecx
call fcn.0040343e
cmp eax, ebx
jne 0x4036fb
call fcn.00403453
mov dword [ebp - 4], eax
call fcn.00403427
jmp 0x4038c9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x20c]
push eax
call edi
push dword [ebp - 0x20c]
call fcn.0040a670
pop ecx
test eax, eax
je 0x4037b4
mov ax, word [ebp - 0x20a]
cmp ax, 0x3a
je 0x403787
cmp ax, bx
jne 0x4037b4
cmp ax, bx
jne 0x403793
push 0x416574
jmp 0x4037a7
cmp ax, 0x3a
jne 0x4037b4
cmp word [ebp - 0x208], bx
jne 0x4037b4
push 0x416408
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00409e12
mov ebx, eax
push 0x5c
push ebx
call fcn.00409daa
add esp, 0xc
mov esi, eax
push ebx
test esi, esi
jne 0x4037e1
call fcn.00409dd8
pop ecx
xor eax, eax
jmp 0x4038cc
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call edi
add esi, 2
push esi
lea eax, [ebp - 0xc7c]
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x664]
push 0x416564
push eax
call esi
push ebx
call fcn.00409dd8
add esp, 0x14
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4037da
test byte [ebp - 0x45c], 0x10
je 0x4038b0
lea eax, [ebp - 0x430]
push 0x416560
push eax
call fcn.0040a5e7
pop ecx
pop ecx
test eax, eax
je 0x4038b0
lea eax, [ebp - 0x430]
push 0x416558
push eax
call fcn.0040a5e7
pop ecx
pop ecx
test eax, eax
je 0x4038b0
test byte [ebp - 0x45c], 6
jne 0x4038b0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x664]
push str._s_s
push eax
call esi
lea eax, [ebp - 0x664]
push eax
call fcn.00402024
add esp, 0x14
inc dword [ebp - 4]
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403842
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret