Function at 0x4297c0
Capabilities:
Delete file
Get common file path
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, ecx
push str.bExtractSys64_n
push ebp
call fcn.00444c70
mov eax, dword [0x4871ac]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4871b0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
add esp, 8
cmp edx, 0x100000
jle 0x4297fa
xor eax, eax
pop ebp
add esp, 0x1c
ret
push ebx
push 0x200
call fcn.00447677
mov ebx, eax
lea eax, [ebp + 0x210]
mov edx, ebx
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x429814
push edi
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x429826
mov ax, word [0x472770]
mov word [edi], ax
lea eax, [ebp + 0x310]
push esi
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429842
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429852
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
and ecx, 3
push str.szDestName___s_n
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00444c70
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push edi
push str.CreateFile1___X_n
push ebp
call fcn.00444c70
add esp, 0xc
cmp edi, 0xffffffff
je 0x4298c9
test ebx, ebx
je 0x4298b5
push ebx
call fcn.004476a7
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
mov eax, 1
pop ebp
add esp, 0x1c
ret
push 0x200
call fcn.00447677
mov edi, eax
lea eax, [ebp + 0x450]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x10], edi
je 0x429946
lea ecx, [ebp + 0x210]
mov esi, edi
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
test dl, dl
jne 0x4298f1
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429900
mov cx, word [0x472770]
mov word [edi], cx
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429916
mov edi, dword [esp + 0x10]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429928
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
jmp 0x429958
push 0x200
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42999a
push edi
push str.szHostName___s_n
push ebp
call fcn.00444c70
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x4299be
push edi
push 0x474ecc
push ebp
call fcn.00444c70
add esp, 0xc
test edi, edi
je 0x4299a7
push edi
call fcn.004476a7
add esp, 4
test ebx, ebx
je 0x4299b4
push ebx
call fcn.004476a7
add esp, 4
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x1c
ret
mov edx, dword [esp + 0x14]
add edx, 0x20
push edx
call fcn.00447677
add esp, 4
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x24]
push ecx
push eax
push str.ReadFile___d___d
push ebp
call fcn.00444c70
push ebx
push 0x474f38
push ebp
call fcn.00444c70
add esp, 0x1c
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0xffffffffffffffff
mov esi, eax
push esi
push str.CreateFile2___X___X__n
push ebp
call fcn.00444c70
add esp, 0x10
cmp esi, 0xffffffff
jne 0x429b6f
push ebx
push 0x474eb0
push ebp
call fcn.00444c70
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b6f
push ebx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, ebx
add edi, esi
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x429a96
mov dx, word [0x472770]
lea eax, [ebp + 0x310]
mov word [edi], dx
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429ab2
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x429ac2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, eax
and ecx, 3
push str.Try_2_:_szDestName___s_n
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00444c70
add esp, 0xc
push 0
push 2
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b59
push ebx
push str.Try_2_:
push ebp
call fcn.00444c70
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x429b26
push eax
call fcn.004476a7
add esp, 4
test ebx, ebx
je 0x429b33
push ebx
call fcn.004476a7
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x429b44
push eax
call fcn.004476a7
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x1c
ret
lea eax, [ebp + 0x210]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x28]
push ecx
push eax
push str.WriteFile___d___d
push ebp
call fcn.00444c70
add esp, 0x10
test edi, edi
je 0x429ba8
push edi
call fcn.004476a7
add esp, 4
test ebx, ebx
je 0x429bb5
push ebx
call fcn.004476a7
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x429bc6
push eax
call fcn.004476a7
add esp, 4
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
push esi
call edi
pop esi
pop edi
pop ebx
mov eax, 1
pop ebp
add esp, 0x1c
ret