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

Disassembly:
mov eax, 0x4691ac
call fcn.00466f40
sub esp, 0x238
mov eax, dword [0x40b12c]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], esi
call dword [ecx + 0x78]
cmp dword [ebp - 0x28], esi
jne 0x44e898
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004166e9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004166e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004166e9
xor eax, eax
jmp 0x44eddc
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp - 0x28]
call edi
push eax
lea ecx, [ebp - 0x24]
call fcn.004167eb
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x411a2c
lea ecx, [ebp - 0x2c]
call fcn.0043f5f4
lea eax, [ebp - 0x18]
push 5
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0042b765
push dword [ebp - 0x2c]
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push eax
call esi
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.004166e9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004166e9
test bl, bl
je 0x44e9d1
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x34], 1
call fcn.0041688b
lea eax, [ebp - 0x18]
push 8
push eax
lea ecx, [ebp - 0x14]
call fcn.00419290
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0041688b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004166e9
push 0x5c
push 0x2f
lea ecx, [ebp - 0x14]
call fcn.0044f1be
push 0x411a2c
lea ecx, [ebp - 0x18]
call fcn.0043f5f4
lea eax, [ebp - 0x1c]
push 5
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0042b765
push dword [ebp - 0x18]
mov eax, dword [eax]
mov byte [ebp - 4], 8
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x44ea23
push 0x411a24
lea ecx, [ebp - 0x2c]
call fcn.0043f5f4
lea eax, [ebp - 0x44]
push 5
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0042b765
push dword [ebp - 0x2c]
mov eax, dword [eax]
push eax
call esi
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x44]
inc bl
call fcn.004166e9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004166e9
test bl, bl
jne 0x44ea23
jmp 0x44ea25
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x44e9e9
xor eax, eax
jmp 0x44e9ec
push ebx
call edi
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004167eb
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.004169c4
push eax
call fcn.0044df22
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00416a3e
jmp 0x44e951
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004166e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004166e9
test bl, bl
je 0x44eb09
push 0x411a20
lea ecx, [ebp - 0x18]
call fcn.0043f5f4
lea eax, [ebp - 0x1c]
push 1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0042b6d1
push dword [ebp - 0x18]
mov eax, dword [eax]
push eax
call esi
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x1c]
inc bl
call fcn.004166e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004166e9
test bl, bl
je 0x44eabb
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b765
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0041688b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004166e9
push 0x2f
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
jne 0x44ead1
or eax, 0xffffffff
jmp 0x44ead6
sub eax, dword [ebp - 0x14]
sar eax, 1
inc eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00419290
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0041688b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004166e9
push 0x5f
push 0x3a
lea ecx, [ebp - 0x14]
call fcn.0044f1be
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041688b
cmp dword [ebp - 0x34], 0
jne 0x44ebe3
push 0x411a18
lea ecx, [ebp - 0x18]
call fcn.0043f5f4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xd
push dword [eax - 8]
call fcn.004168db
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004166e9
push 0x411a10
lea ecx, [ebp - 0x18]
call fcn.0043f5f4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
push dword [eax - 8]
call fcn.004168db
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004166e9
lea eax, [ebp - 0x244]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00436a68
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0041688b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004166e9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00436a68
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0041688b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004166e9
push 0x2f
lea ecx, [ebp - 0x24]
call fcn.0044f19b
inc eax
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b765
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.0041688b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004166e9
cmp dword [ebp - 0x34], 0
mov dword [ebp - 4], 3
jne 0x44ed7f
lea ecx, [ebp - 0x14]
call fcn.0044f207
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x44ec8b
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push str._D_3
push eax
call dword [ecx]
test eax, eax
jl 0x44ec8b
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x38]
push edx
push 0x403bb0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x44ec8b
mov eax, dword [ebp - 0x38]
push 0
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
jmp 0x44ec8b
push dword [ebp - 0x18]
mov dword [ebp - 4], 3
mov byte [ebp - 4], 0x15
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44ecac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x44ecb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x44ecc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.MSVCRT.dll__wfopen]
push 0x40bdd4
push dword [ebp - 0x14]
mov dword [ebp - 4], 3
call esi
push 0x40bdcc
mov edi, eax
push dword [ebp - 0x20]
call esi
add esp, 0x10
mov ebx, eax
test edi, edi
je 0x44ed6a
test ebx, ebx
je 0x44ed62
mov esi, dword [sym.imp.MSVCRT.dll_fputws]
push ebx
push 0x4119f4
call esi
push ebx
push dword [ebp - 0x24]
call esi
push ebx
push 0x4119ec
call esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov dword [ebp + 8], eax
call esi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_malloc]
push edi
push 1
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x48
push ebx
push 1
push dword [ebp + 8]
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x14
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
test ebx, ebx
je 0x44ed76
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044e724
cmp dword [ebp - 0x34], 0
pop ecx
mov dword [ebp - 0x40], eax
jne 0x44edb2
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44edb2
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.004166e9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004166e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004166e9
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret