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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673a80
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c8], edx
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00405620
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4108cd
lea edx, [ecx - 1]
cmp ecx, edx
jbe 0x410c42
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp byte [eax + edx], 0x5c
je 0x4108cd
push 1
push 0x70ecc8
lea ecx, [ebp - 0x48]
call fcn.00403b50
mov ecx, dword [ebp - 0x34]
mov eax, accept
sub eax, ecx
cmp eax, 3
jb 0x410c47
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 3
cmovae eax, dword [ebp - 0x44]
push 0x70ecfc
push ecx
push eax
push ecx
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x80]
call fcn.00412d60
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.00405180
mov ecx, dword [ebp - 0x80]
push 8
push ecx
mov dword [ebp - 0x80], 0
call fcn.00405410
add esp, 8
cmp edi, 0xffffffff
jne 0x410944
xor bl, bl
jmp 0x410bea
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop word [eax + eax]
cmp byte [ebp - 0x194], 0x2e
je 0x410bcf
test byte [ebp - 0x1c0], 0x10
lea eax, [ebp - 0x194]
jne 0x410b3f
push eax
push str.AccInfo.dat
call fcn.0062d090
add esp, 8
test eax, eax
jne 0x410bcf
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410990
sub ecx, edx
mov eax, accept
mov edx, dword [ebp + 0x1c]
sub eax, edx
cmp eax, ecx
jb 0x410c47
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x194]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x64]
call fcn.00412d60
mov byte [ebp - 0x1c4], 0
lea edx, [ebp + 8]
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00412e60
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00414370
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00415890
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.00405410
add esp, 8
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
cmovae esi, dword [ebp - 0x60]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410a30
sub ecx, edx
mov eax, accept
mov edx, dword [ebp - 0x34]
sub eax, edx
cmp eax, ecx
jb 0x410c47
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x194]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x2c]
call fcn.00412d60
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x2c]
call fcn.00405180
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.00405410
add esp, 8
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00405620
mov ecx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.004126e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00405180
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.00405410
add esp, 8
lea ecx, [ebp - 0x264]
call fcn.00402690
lea esi, [eax + 0x48]
mov byte [ebp - 4], 5
mov edx, str.add_accinfo_path:
mov ecx, esi
call fcn.00402c30
cmp dword [ebp - 0x4c], 0x10
lea edx, [ebp - 0x60]
mov ecx, esi
cmovae edx, dword [ebp - 0x60]
call fcn.00402c30
lea ecx, [ebp - 0x264]
call fcn.00408c10
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00405180
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], 0
jmp 0x410bc4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410b42
sub eax, edx
mov ecx, accept
mov edx, dword [ebp - 0x34]
sub ecx, edx
cmp ecx, eax
jb 0x410c47
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
push eax
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x194]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x2c]
call fcn.00412d60
mov byte [ebp - 4], 6
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp + 8]
cmovae esi, dword [ebp - 0x28]
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.00403cd0
mov edx, dword [ebp - 0x1c8]
mov ecx, esi
call fcn.00410850
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405180
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push 8
push eax
call fcn.00405410
add esp, 8
lea eax, [ebp - 0x1c0]
push eax
push edi
call ebx
test eax, eax
jne 0x410950
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.00405180
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.00405410
add esp, 8
lea ecx, [ebp + 8]
call fcn.00405180
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.00405410
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret
call fcn.00409c40
call fcn.00405240
int3