Function at 0x420700
Capabilities:
Delete file
Get file size
Hash data with md5
Read file on windows
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446171
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c8
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3d4], edi
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004259e0
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1f4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4207b0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x204]
call fcn.004018a0
push str.001.dat
lea ecx, [ebp - 0x204]
mov dword [ebp - 4], 0
call fcn.004023f0
cmp dword [ebp - 0x1f0], 0x10
lea eax, [ebp - 0x204]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmovae eax, dword [ebp - 0x204]
push eax
call esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1dc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420830
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x1ec]
call fcn.004018a0
push str.002.dat
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 1
call fcn.004023f0
cmp dword [ebp - 0x1d8], 0x10
lea eax, [ebp - 0x1ec]
cmovae eax, dword [ebp - 0x1ec]
push eax
call esi
mov ecx, edi
call fcn.0041e480
xor ecx, ecx
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x3b8], esi
mov eax, dword [edi]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x228]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4208bf
push edi
call fcn.00401430
jmp 0x4208f0
push 0
mov dword [ebp - 0x228], 0
push 0x45306c
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
call fcn.004018a0
mov eax, dword [ebp - 0x3d4]
mov ecx, 0x10
mov byte [ebp - 4], 2
mov eax, dword [eax]
add eax, dword [ebp - 0x3c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dword [esi - 8], eax
mov eax, esi
mov dword [esi - 4], 0
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x420920
lea edx, [ecx + 0x15]
lea ecx, [ebp - 0x240]
call fcn.00411db0
push 0
push 0x80
push 3
push 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 0x10
push 1
cmovae eax, dword [ebp - 0x228]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [ebp - 0x240]
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], edi
cmp eax, 0xffffffff
je 0x420c45
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x3bc], esi
test esi, esi
je 0x420c33
push esi
call fcn.00424367
add esp, 4
mov dword [ebp - 0x3c4], eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0
push 0
push ecx
push esi
push eax
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420a3b
push esi
push dword [ebp - 0x3c4]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2b0], 0x67452301
mov dword [ebp - 0x2ac], 0xefcdab89
mov dword [ebp - 0x2a8], 0x98badcfe
mov dword [ebp - 0x2a4], 0x10325476
call fcn.00413570
lea ecx, [ebp - 0x2b0]
call fcn.00413630
mov eax, dword [ebp - 0x3b8]
movups xmm0, xmmword [ebp - 0x258]
movups xmmword [eax], xmm0
mov eax, esi
mov ecx, 0x10
and eax, 0xf
sub ecx, eax
lea eax, [ecx + 0x10]
add eax, esi
push eax
call fcn.00424367
add esp, 4
mov dword [ebp - 0x3b4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], 0
lea ecx, [ebp - 0x1d4]
movq qword [ebp - 0x1d4], xmm0
call fcn.00417cf0
cmp dword [ebp - 0x22c], 0x10
lea ecx, [ebp - 0x240]
mov eax, dword [ebp - 0x1d4]
cmovae ecx, edi
mov dword [ebp - 0x3c0], eax
mov edi, dword [ebp - 0x3b4]
mov dword [ebp - 0x3d8], ecx
test edi, edi
je 0x420ab9
test eax, eax
je 0x420ab3
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
jmp 0x420ac9
xorps xmm0, xmm0
movups xmmword [edi], xmm0
call fcn.0042af83
mov dword [eax], 0x16
call fcn.0042822f
push esi
push dword [ebp - 0x3c4]
mov edx, esi
lea ecx, [edi + 0x10]
call fcn.00419970
mov ecx, dword [ebp - 0x3b4]
mov eax, esi
and eax, 0xf
mov esi, 0x10
sub esi, eax
add ecx, 0x10
mov eax, dword [ebp - 0x3bc]
push esi
add eax, ecx
push esi
push eax
call fcn.004259e0
add esi, dword [ebp - 0x3bc]
lea ecx, [ebp - 0x3b0]
mov edx, dword [ebp - 0x3d8]
add esp, 0x14
lea eax, [esi + 0x10]
mov dword [ebp - 0x3bc], eax
call fcn.00401ab0
mov eax, dword [ebp - 0x3c0]
lea edx, [edi + 0x10]
push esi
lea ecx, [ebp - 0x3b0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c0], xmm0
call fcn.004022b0
add esp, 4
lea eax, [ebp - 0x204]
cmp dword [ebp - 0x1f0], 0x10
cmovae eax, dword [ebp - 0x204]
push 0
push 0
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x420bb9
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 0x3bc]
lea eax, [ebp - 0x20c]
push 0
push eax
push edi
push dword [ebp - 0x3b4]
mov dword [ebp - 0x20c], 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3b8]
mov dword [eax - 4], edi
push dword [ebp - 0x3b4]
call fcn.00423d7f
add esp, 4
push dword [ebp - 0x3c4]
call fcn.00423d7f
mov ecx, dword [ebp - 0x1d4]
add esp, 4
test ecx, ecx
je 0x420c2d
mov edx, dword [ebp - 0x1cc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x420c05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420df1
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0
mov edi, dword [ebp - 0x3cc]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x3b8]
cmp dword [ebp - 0x1d8], 0x10
lea eax, [ebp - 0x1ec]
push 0
cmovae eax, dword [ebp - 0x1ec]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3c0], eax
cmp eax, 0xffffffff
je 0x420cac
push 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push ecx
push 0xa8
lea ecx, [ebp - 0x1c8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x3c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
cmp eax, 0x10
jb 0x420ce6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x420cdc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420df1
push ecx
push edi
call fcn.00423b44
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x420d24
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420d1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420df1
push edx
push ecx
call fcn.00423b44
add esp, 8
mov ecx, dword [ebp - 0x3c8]
add esi, 0x18
add ecx, 8
mov dword [ebp - 0x3b8], esi
mov dword [ebp - 0x3c8], ecx
cmp ecx, 0x38
jge 0x420d4c
mov edi, dword [ebp - 0x3d4]
jmp 0x420892
mov edx, dword [ebp - 0x1d8]
cmp edx, 0x10
jb 0x420d82
mov ecx, dword [ebp - 0x1ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420d78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420df1
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], 0
cmp edx, 0x10
jb 0x420dd3
mov ecx, dword [ebp - 0x204]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420dc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420df1
push edx
push ecx
call fcn.00423b44
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042823f
int3