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

Disassembly:
mov eax, 0x45e1cc
call fcn.00454be8
sub esp, 0x300
push ebx
push esi
push edi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x10], esp
push 0x104
push eax
call fcn.0044ac71
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x18]
push eax
call fcn.0044b468
lea eax, [ebp - 0x14]
xor ebx, ebx
push 4
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0044b66d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0044b393
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CharLowerA]
push str..dll
push dword [ebp - 0x14]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
je 0x44b2ce
push dword [0x4b5278]
mov dword [0x4b528c], ebx
call fcn.0044b715
test eax, eax
pop ecx
jne 0x44aec2
call fcn.0044cc05
mov dword [0x4b528c], 1
mov esi, 0x400
push esi
push ebx
push 0x4b7514
call fcn.00454ae0
push esi
push ebx
push 0x4b6d14
call fcn.00454ae0
push esi
push ebx
push 0x4b7114
call fcn.00454ae0
push esi
push ebx
push 0x4b6914
call fcn.00454ae0
mov edi, dword [ebp + 0xc]
add esp, 0x30
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x44af18
cmp edi, 1
je 0x44af18
cmp edi, 2
je 0x44af18
cmp edi, 3
jne 0x44b2ce
mov dword [0x4b52d8], edi
call fcn.0044f3a7
cmp eax, ebx
je 0x44b00b
push edi
call fcn.0044def2
cmp eax, ebx
pop ecx
mov edi, 0x4b6304
je 0x44af9d
push edi
lea ecx, [ebp - 0x1c]
call fcn.0044b468
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0044c299
lea ecx, [ebp - 0x1c]
call fcn.0044c24d
push 0x4b62f8
push dword [ebp - 0x1c]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
je 0x44af91
push dword [ebp - 0x1c]
call fcn.0044cd01
cmp eax, ebx
pop ecx
jne 0x44af91
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.004549f0
pop ecx
mov byte [ebp - 4], 2
pop ecx
lea ecx, [ebp - 0x1c]
jmp 0x44b15f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0044b43c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push ebx
push edi
call fcn.00454ae0
add esp, 0xc
call fcn.0044e20c
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
je 0x44afc3
push edi
jmp 0x44afe2
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0044e640
test eax, eax
je 0x44b2ce
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.004549f0
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0044b43c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044b43c
push 1
pop eax
jmp 0x44b331
lea eax, [ebp - 0x94]
push eax
push edi
push ebx
call fcn.0044e640
test eax, eax
je 0x44b025
lea eax, [ebp - 0x94]
jmp 0x44afe1
mov esi, 0x4b5274
mov ecx, esi
call fcn.0044b342
lea eax, [ebp - 0x30c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.temp0921.vxd
lea eax, [ebp - 0x30c]
push 0x49fd90
push eax
push str._s_s_s
push esi
call fcn.0044bf0e
add esp, 0x14
push ebx
push 0x90
push 2
push ebx
push 3
push 0xc0000000
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44b2ce
lea eax, [ebp - 0x24]
push ebx
push eax
push 0x1270
push 0x4600e0
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x44b2ce
push dword [0x4b5274]
push str.._
push str._s_s
push 0x4b5288
call fcn.0044bf0e
add esp, 0x10
call fcn.0044deed
cmp eax, ebx
je 0x44b2ce
cmp edi, ebx
jne 0x44b169
mov esi, 0x4b7514
lea ecx, [ebp + 0xc]
push esi
call fcn.0044b468
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0044c299
lea ecx, [ebp + 0xc]
call fcn.0044c24d
push 0x4b62f8
push dword [ebp + 0xc]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
jne 0x44b134
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
jmp 0x44b2c9
push dword [ebp + 0xc]
call fcn.0044cd01
cmp eax, ebx
pop ecx
jne 0x44b11c
push esi
push dword [ebp + 8]
call fcn.004549f0
pop ecx
pop ecx
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0044b43c
jmp 0x44afec
push 1
pop esi
cmp edi, esi
jne 0x44b1ed
mov edi, 0x4b6d14
lea ecx, [ebp + 0xc]
push edi
call fcn.0044b468
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0044c299
lea ecx, [ebp + 0xc]
call fcn.0044c24d
push 0x4b62f8
push dword [ebp + 0xc]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
jne 0x44b1bd
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
jmp 0x44b2c9
push dword [ebp + 0xc]
call fcn.0044cd01
cmp eax, ebx
pop ecx
jne 0x44b1a5
push edi
push dword [ebp + 8]
call fcn.004549f0
pop ecx
pop ecx
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
jmp 0x44b2f1
cmp edi, 2
jne 0x44b26f
mov edi, 0x4b7114
lea ecx, [ebp + 0xc]
push edi
call fcn.0044b468
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0044c299
lea ecx, [ebp + 0xc]
call fcn.0044c24d
push 0x4b62f8
push dword [ebp + 0xc]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
jne 0x44b23f
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
jmp 0x44b2c9
push dword [ebp + 0xc]
call fcn.0044cd01
cmp eax, ebx
pop ecx
jne 0x44b227
push edi
push dword [ebp + 8]
call fcn.004549f0
pop ecx
pop ecx
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
jmp 0x44b2f1
cmp edi, 3
jne 0x44b2ce
mov edi, 0x4b6914
lea ecx, [ebp - 0x20]
push edi
call fcn.0044b468
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0044c299
lea ecx, [ebp - 0x20]
call fcn.0044c24d
push 0x4b62f8
push dword [ebp - 0x20]
call fcn.00454b38
pop ecx
test eax, eax
pop ecx
je 0x44b2b6
push dword [ebp - 0x20]
call fcn.0044cd01
cmp eax, ebx
pop ecx
je 0x44b2d3
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0044b43c
mov byte [ebp - 4], bl
jmp 0x44b31b
push edi
push dword [ebp + 8]
call fcn.004549f0
pop ecx
pop ecx
push dword [0x4b5274]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0044b43c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0044b43c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044b43c
mov eax, esi
jmp 0x44b331
lea ecx, [ebp - 0x14]
call fcn.0044b43c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044b43c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8