Function at 0x4097b3
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push 0x698
mov eax, 0x447832
call fcn.0040f6fe
push 0x250
lea eax, [ebp - 0x690]
push 0
push eax
call fcn.0042a960
add esp, 0xc
lea eax, [ebp - 0x690]
push eax
push str..pbd
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x69c], edi
cmp edi, 0xffffffff
je 0x409a70
push 0
push 0x80
push 3
push 0
xor ebx, ebx
lea eax, [ebp - 0x664]
inc ebx
push ebx
push 0x80000000
push eax
call dword [0x48ca30]
mov esi, eax
cmp esi, 0xffffffff
je 0x409952
and dword [ebp - 0x6a0], 0
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call fcn.0042a960
add esp, 0xc
push 2
push 0
push 0xfffffe00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x6a0]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x48ca48]
lea edx, [ebp - 0x210]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, str.uo_plugin.bin
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x210]
jne 0x40994b
inc ecx
cmp ecx, 0xe
jne 0x409878
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call edi
push 1
push 0
push 0
push esi
call edi
lea edi, [eax - 0x200]
lea ecx, [edi + 1]
push ecx
call fcn.0040f43f
mov dword [ebp - 0x694], eax
pop ecx
test eax, eax
je 0x409945
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [ebp - 0x698], 0
lea eax, [ebp - 0x698]
push 0
push eax
push edi
push dword [ebp - 0x694]
push esi
call dword [0x48ca48]
test eax, eax
je 0x409939
push dword [ebp - 0x698]
xor eax, eax
lea edi, [ebp - 0x440]
push dword [ebp - 0x694]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x440]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00403eae
lea edx, [ebp - 0x1f0]
xor ecx, ecx
lea edi, [ebp - 0x440]
mov eax, dword [edx + ecx*4]
cmp eax, dword [edi + ecx*4]
jne 0x409937
inc ecx
cmp ecx, 4
jne 0x409927
jmp 0x409939
xor ebx, ebx
push dword [ebp - 0x694]
call fcn.0040f1a0
pop ecx
mov edi, dword [ebp - 0x69c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x409a53
lea eax, [ebp - 0x6a4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x6a4], xmm0
call fcn.00431bfc
lea eax, [ebp - 0x6a4]
push eax
call fcn.00431044
mov esi, eax
mov dword [ebp - 0x420], ebx
xor eax, eax
mov dword [ebp - 0x41c], ebx
pop ecx
pop ecx
mov word [ebp - 0x430], ax
lea ecx, [ebp - 0x430]
lea eax, [ebp - 0x664]
mov dword [ebp - 0x420], ebx
push eax
mov dword [ebp - 0x41c], 7
call fcn.0040269f
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x430]
call fcn.00406d53
push 0x208
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.0042a960
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x418]
push str.._04d_02d_02d_02d_02d_02d
push eax
call fcn.00403244
add esp, 0x2c
lea eax, [ebp - 0x418]
lea ecx, [ebp - 0x430]
push eax
call fcn.00402e54
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push eax
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str.1_n
call fcn.004033fa
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00402671
lea eax, [ebp - 0x690]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4097fb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0040f6a8
ret