Function at 0x450930
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc88
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 1
push 0x250
push 0
lea eax, [ebp - 0x468]
push eax
call fcn.004ad2c0
add esp, 0xc
mov cx, word [0x500368]
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00405230
push 0x50036c
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00402280
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x4509e6
xor eax, eax
jmp 0x450c2f
cmp dword [ebp - 0x218], 0
je 0x450c0a
mov edx, dword [ebp - 0x468]
and edx, 0x10
je 0x450b1e
push 0x500374
lea eax, [ebp - 0x43c]
push eax
call fcn.004ad71b
add esp, 8
test eax, eax
je 0x450a32
push 0x500378
lea ecx, [ebp - 0x43c]
push ecx
call fcn.004ad71b
add esp, 8
test eax, eax
jne 0x450a37
jmp 0x450b19
mov dx, word [0x500380]
mov word [ebp - 0x670], dx
push 0x206
push 0
lea eax, [ebp - 0x66e]
push eax
call fcn.004ad2c0
add esp, 0xc
mov cx, word [0x500384]
mov word [ebp - 0x878], cx
push 0x206
push 0
lea edx, [ebp - 0x876]
push edx
call fcn.004ad2c0
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x500388
push 0x104
lea edx, [ebp - 0x670]
push edx
call fcn.00401cd0
add esp, 0x14
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s_s_
push 0x104
lea edx, [ebp - 0x878]
push edx
call fcn.00401cd0
add esp, 0x14
push 0
lea eax, [ebp - 0x878]
push eax
call fcn.0044fd90
add esp, 8
lea ecx, [ebp - 0x878]
push ecx
lea edx, [ebp - 0x670]
push edx
call fcn.00450930
add esp, 8
test eax, eax
jne 0x450b19
cmp dword [ebp - 0x214], 0
je 0x450b12
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x214], 0
xor eax, eax
jmp 0x450c2f
jmp 0x450beb
mov cx, word [0x5003a0]
mov word [ebp - 0xa80], cx
push 0x206
push 0
lea edx, [ebp - 0xa7e]
push edx
call fcn.004ad2c0
add esp, 0xc
mov ax, word [0x5003a4]
mov word [ebp - 0xc88], ax
push 0x206
push 0
lea ecx, [ebp - 0xc86]
push ecx
call fcn.004ad2c0
add esp, 0xc
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x5003a8
push 0x104
lea ecx, [ebp - 0xa80]
push ecx
call fcn.00401cd0
add esp, 0x14
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x5003b4
push 0x104
lea ecx, [ebp - 0xc88]
push ecx
call fcn.00401cd0
add esp, 0x14
push 0
lea edx, [ebp - 0xc88]
push edx
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x450beb
cmp dword [ebp - 0x214], 0
je 0x450be7
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x214], 0
xor eax, eax
jmp 0x450c2f
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x218], eax
jmp 0x4509e6
cmp dword [ebp - 0x214], 0
je 0x450c2a
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x214], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret