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

Disassembly:
push 0xffffffffffffffff
push 0x458332
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x570
push ebx
push ebp
push esi
push edi
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x238]
mov ebx, dword [esp + 0x590]
rep stosd dword es:[edi], eax
mov al, byte [0x48840c]
mov ecx, 0x40
mov byte [esp + 0x30], al
xor eax, eax
lea edi, [esp + 0x31]
lea edx, [esp + 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call fcn.0041cda8
mov ebp, dword [esp + 0x598]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
add esp, 4
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x238]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x41ba77
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x238], 0x10
jne 0x41ba77
mov dl, byte [0x48840c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x379]
mov byte [esp + 0x378], dl
mov byte [esp + 0x134], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x135]
lea edx, [esp + 0x264]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
call fcn.0041d5ad
add esp, 4
test eax, eax
jne 0x41b914
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x378]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x378]
push ecx
call fcn.0041cda8
add esp, 4
lea edi, [esp + 0x264]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x378]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x134]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x5a4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
call fcn.0041cda8
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x134]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x5a0]
mov ecx, edx
and ecx, 3
lea edx, [esp + 0x378]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x598]
test eax, eax
mov eax, dword [esp + 0x59c]
push eax
push ecx
push edx
je 0x41b9d8
call fcn.0041bf30
jmp 0x41b9dd
call fcn.0041c050
add esp, 0xc
test eax, eax
je 0x41ba5b
lea eax, [esp + 0x134]
push 0
lea ecx, [esp + 0x37c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x41ba2e
lea edx, [esp + 0x134]
lea eax, [esp + 0x378]
push edx
push eax
push str.Successfully_copied__s_to__s
push 1
push 0x4788a8
call fcn.0041f763
add esp, 0x14
mov eax, 1
jmp 0x41bf11
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x134]
push eax
lea edx, [esp + 0x37c]
push ecx
push edx
push str.__Failed_to_copy__s_to__s.__Error_d
push 1
push 0x4788a8
call fcn.0041f763
add esp, 0x18
jmp 0x41ba77
lea eax, [esp + 0x378]
push eax
push str.Found_file_but_incorrect_version__s
push 1
push 0x4788a8
call fcn.0041f763
add esp, 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call fcn.0041cda8
mov edi, 0x4719b4
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x238]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41bc48
test byte [esp + 0x238], 0x10
je 0x41bc18
lea edx, [esp + 0x264]
push 0x46e6d8
push edx
call fcn.004383b8
add esp, 8
test eax, eax
je 0x41bc18
lea eax, [esp + 0x264]
push 0x4719b0
push eax
call fcn.004383b8
add esp, 8
test eax, eax
je 0x41bc18
mov cl, byte [0x48840c]
xor eax, eax
mov byte [esp + 0x134], cl
mov ecx, 0x40
lea edi, [esp + 0x135]
lea edx, [esp + 0x264]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
call fcn.0041d5ad
add esp, 4
test eax, eax
jne 0x41bba8
mov edi, dword [esp + 0x590]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x134]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
call fcn.0041cda8
add esp, 4
lea edi, [esp + 0x264]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x5a8]
mov ecx, edx
mov edx, dword [esp + 0x5a0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x5a4]
push eax
mov eax, dword [esp + 0x5a0]
push ecx
mov ecx, dword [esp + 0x5a0]
push edx
push eax
push ecx
lea edx, [esp + 0x148]
push ebp
push edx
call fcn.0041b7b0
add esp, 0x1c
test eax, eax
jne 0x41bc30
lea eax, [esp + 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41bc41
jmp 0x41baf3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x41bf11
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x590]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call fcn.0041cda8
mov edi, str..cab
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x238]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x41bf0f
test byte [esp + 0x238], 0x10
jne 0x41bef1
mov dl, byte [0x48840c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x47d]
mov byte [esp + 0x47c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x264]
push eax
call fcn.0041d5ad
add esp, 4
test eax, eax
jne 0x41bd48
mov edi, dword [esp + 0x590]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x47c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x47c]
push ecx
call fcn.0041cda8
add esp, 4
lea edi, [esp + 0x264]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x47c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov al, byte [esp + 0x23]
and ecx, 3
mov byte [esp + 0x10], al
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x47c]
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ebx
mov ebp, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00404810
cmp eax, ebp
jae 0x41bdb6
call fcn.00446de7
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x41bdde
mov al, byte [edi - 1]
test al, al
je 0x41bdde
cmp al, 0xff
je 0x41bdde
cmp ebp, ebx
jne 0x41be07
dec al
push ebx
lea ecx, [esp + 0x14]
mov byte [edi - 1], al
call fcn.00404400
jmp 0x41be36
cmp ebp, ebx
jne 0x41bdef
push 1
lea ecx, [esp + 0x14]
call fcn.00404400
jmp 0x41be36
mov eax, dword [esp + 0x1c]
cmp eax, 0x1f
ja 0x41bdfc
cmp eax, ebp
jae 0x41be15
push 1
lea ecx, [esp + 0x14]
call fcn.00404400
push ebp
lea ecx, [esp + 0x14]
call fcn.00404820
mov edi, dword [esp + 0x14]
mov ecx, ebp
lea esi, [esp + 0x47c]
mov edx, ecx
push ebp
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 + 0x14]
call fcn.00404170
mov ebp, dword [esp + 0x5a8]
push 0x18
mov dword [esp + 0x58c], ebx
mov esi, dword [ebp + 4]
mov edi, dword [esi + 4]
call fcn.0044d4cd
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x41be5c
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x41be66
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea esi, [eax + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [ecx], eax
cmp esi, ebx
mov byte [esp + 0x588], 1
je 0x41beaa
mov al, byte [esp + 0x10]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00404400
mov ecx, dword [0x45b97c]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00403e70
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
inc edx
cmp eax, ebx
mov dword [ebp + 8], edx
mov dword [esp + 0x588], 0xffffffff
je 0x41bee1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41bed8
cmp al, 0xff
je 0x41bed8
dec al
mov byte [ecx], al
jmp 0x41bee1
push ecx
call fcn.0044d4f6
add esp, 4
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41bccd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x580]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x57c
ret