Function at 0x404ac0
Capabilities:
Delete file
Hash data with md5
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x425024]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [ebx + 4]
mov dword [ebx + 0x618], 0
push 0x104
push eax
mov dword [ebx + 0x614], 0
mov dword [esp + 0x3c], eax
call esi
push edi
lea eax, [ebx + 0x20c]
push 0x104
push eax
mov dword [esp + 0x4c], eax
call esi
add esp, 0x18
lea ecx, [ebx + 0x20a]
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x404b30
mov eax, dword [0x41d9dc]
lea edx, [ebx + 0x698]
mov dword [ecx], eax
mov eax, dword [0x41d9e0]
mov dword [ecx + 4], eax
mov ax, word [0x41d9e4]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 0xc]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x404b60
mov ecx, 0x428f08
lea edx, [ebx + 0x61c]
mov eax, dword [ecx]
lea edx, [edx + 4]
add ecx, 4
mov dword [edx - 4], eax
cmp ecx, 0x428f54
jl 0x404b78
lea eax, [ebx + 4]
push 0x41da00
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
push 2
mov edi, eax
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x1c
mov dword [ebx + 0x614], esi
mov ecx, ebx
call fcn.00404ff0
cmp eax, 6
je 0x404be8
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0041a772
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x614]
and eax, 0x8000000f
jns 0x404bfa
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, 0x10
sub ecx, eax
mov dword [esp + 0x2c], ecx
jne 0x404c1d
mov dword [ebx + 0x668], 0
mov dword [ebx + 0x66c], 0
jmp 0x404c47
cmp ecx, 0xa
jge 0x404c34
mov dword [ebx + 0x668], 0
mov dword [ebx + 0x66c], ecx
jmp 0x404c47
lea eax, [ecx - 0xa]
mov dword [ebx + 0x668], 1
mov dword [ebx + 0x66c], eax
lea eax, [ebx + 0x20c]
mov dword [ebx + 0x670], 2
push 0x41d9f0
push eax
mov dword [ebx + 0x674], 8
mov dword [ebx + 0x678], 6
mov dword [ebx + 0x67c], 5
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [esp + 0xc], eax
mov edi, 0x19
lea esi, [ebx + 0x61c]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov eax, dword [esp + 0x14]
lea esi, [esi + 4]
add esp, 8
sub edi, 1
jne 0x404c93
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push eax
call edi
lea eax, [ebx + 4]
push 0x41d9e8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
jne 0x404cea
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0041a772
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebx + 0x20c]
push 0x41d9f8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x404d29
push esi
call edi
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0041a772
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebx + 0x698]
mov dword [ebx + 0x6e4], 0x67452301
mov ecx, edx
mov dword [ebx + 0x6e8], 0xefcdab89
mov dword [ebx + 0x6ec], 0x98badcfe
mov dword [ebx + 0x6f0], 0x10325476
mov dword [ebx + 0x6f4], 0
mov dword [ebx + 0x6f8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404d70
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.004051d0
mov ecx, ebx
call fcn.004052e0
lea ecx, [ebx + 0x6b9]
mov edx, ecx
mov dword [esp + 0x28], ecx
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x404d97
mov eax, dword [ebx + 0x614]
mov edi, dword [ebx + 0x6dc]
cdq
idiv edi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, edx
mov dword [esp + 0x24], 0
cmp ebx, 1
mov dword [esp + 0x1c], edi
push edi
lea ecx, [eax + 1]
cmovb ecx, eax
mov dword [esp + 0x24], ecx
call esi
lea ecx, [edi + 0x10]
mov dword [esp + 0x14], eax
push ecx
call esi
add esp, 8
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
je 0x404ee4
test eax, eax
je 0x404ee4
sub esp, 8
mov dword [esp + 0x40], 1
push dword [esp + 0x30]
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.00405ad0
mov eax, dword [esp + 0x20]
mov esi, 1
cmp eax, esi
jl 0x404e8c
cmp esi, eax
jne 0x404e38
cmp ebx, 1
jb 0x404e38
mov eax, dword [esp + 0x2c]
mov edi, ebx
add eax, ebx
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
push edi
push 1
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
lea ecx, [esp + 0x38]
push dword [esp + 0x14]
push edi
push dword [esp + 0x18]
call fcn.00405ba0
test eax, eax
js 0x404e84
push dword [esp + 0xc]
push dword [esp + 0x20]
push 1
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [esp + 0x30]
inc esi
add esp, 0x10
cmp esi, eax
jle 0x404e25
jmp 0x404e8c
mov dword [esp + 0x24], 7
push dword [esp + 0x18]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call ebx
push dword [esp + 0x10]
call ebx
push dword [esp + 0x18]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push dword [esp + 0x20]
call esi
mov ebx, dword [esp + 0x40]
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
push ebx
push dword [esp + 0x4c]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
mov eax, dword [esp + 0x40]
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0041a772
mov esp, ebp
pop ebp
ret 0xc
push dword [esp + 0x18]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call ebx
push dword [esp + 0x10]
call ebx
mov ecx, dword [esp + 0x154]
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a772
mov esp, ebp
pop ebp
ret 0xc