Function at 0x416750
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1a5c
call fcn.00461df0
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x1a58], eax
push ebx
mov ebx, dword [esp + 0x1a68]
push ebp
mov ebp, dword [esp + 0x1a68]
push esi
push edi
push 0
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x416797
mov dword [esp + 0x10], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa72]
push ecx
mov word [esp + 0xa74], ax
call fcn.00460000
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x127e]
push eax
mov word [esp + 0x1280], dx
call fcn.00460000
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x28a]
push edx
mov word [esp + 0x28c], cx
call fcn.00460000
mov eax, ebp
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4167f6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
mov edi, 0x5c
cmp word [ebp + eax*2 - 2], di
je 0x41681f
push 0x49bc48
push ebp
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416824
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], di
je 0x416842
push 0x49bc48
push ebx
call esi
push ebp
lea eax, [esp + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x489ca4
lea ecx, [esp + 0xa6c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xa6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416881
xor eax, eax
jmp 0x4169a8
test edi, edi
je 0x41699d
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
nop
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41699d
lea edx, [esp + 0x44]
push edx
push ebp
lea eax, [esp + 0x1270]
push 0x48a788
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x280]
push 0x48a788
push edx
call esi
add esp, 0x20
test byte [esp + 0x18], 0x10
jne 0x4168fa
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x1270]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x416890
mov dword [esp + 0x10], eax
jmp 0x416890
mov ecx, 0x48a784
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416929
test dx, dx
je 0x416925
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416929
add eax, 4
add ecx, 4
test dx, dx
jne 0x416903
xor eax, eax
jmp 0x41692e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416890
mov ecx, 0x489c88
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416966
test dx, dx
je 0x416962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416966
add eax, 4
add ecx, 4
test dx, dx
jne 0x416940
xor eax, eax
jmp 0x41696b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416890
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x126c]
push eax
call fcn.00416750
test eax, eax
jne 0x416890
mov dword [esp + 0x10], eax
jmp 0x416890
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1a68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460c80
add esp, 0x1a5c
ret 8