Function at 0x414833
Capabilities:
Delete file
Move file
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435331
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1114
call fcn.00428270
mov eax, dword [0x446450]
xor eax, esp
mov dword [esp + 0x1110], eax
push ebx
push esi
push edi
mov eax, dword [0x446450]
xor eax, esp
push eax
lea eax, [esp + 0x1128]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
call fcn.00414682
test al, al
je 0x414be6
mov eax, dword [ebx]
xor edx, edx
xor esi, esi
movzx ecx, dl
inc esi
cmp dword [eax], edi
push edx
cmovne ecx, esi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 7
call fcn.00404390
and dword [esp + 0x1130], 0
push 0x800
lea ecx, [esp + 0x34]
call fcn.0040b7ef
push 0
call fcn.0041c533
mov dword [esp + 0x28], eax
pop ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x30], edx
call fcn.0041c6d7
pop ecx
pop ecx
test eax, eax
jne 0x414bdd
lea eax, [esp + 0x78]
push eax
push str._d._m._y__H:_M:_S___
lea eax, [esp + 0xa4]
push 0x3f
push eax
call fcn.0041d531
add esp, 0x10
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x34]
call fcn.00408210
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.0040bd73
mov esi, eax
xor eax, eax
inc eax
mov byte [esp + 0x1130], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.0040bd73
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x113c], 2
call fcn.00403f30
push 0x43edd4
mov ecx, eax
call fcn.00403cd0
push 0x43ed6c
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00403f30
mov ecx, eax
call fcn.00403cd0
lea ecx, [esp + 0x48]
call fcn.00401c20
lea ecx, [esp + 0x60]
mov byte [esp + 0x1130], 0
call fcn.00401c20
cmp dword [ebp + 8], 3
jne 0x4149b6
push str.ERROR:
jmp 0x4149c1
cmp dword [ebp + 8], 7
jne 0x4149ca
push str.WARNING:
lea ecx, [esp + 0x34]
call fcn.00403cd0
push 0x43ed98
push dword [esp + 0x24]
lea ecx, [esp + 0x38]
call fcn.00403cd0
mov ecx, eax
call fcn.00403cd0
push 0xa
push 0x40
lea eax, [esp + 0xa4]
push eax
push dword [ebp + 0x10]
call fcn.0041be01
add esp, 0x10
lea eax, [esp + 0x9c]
push 0x43eda0
push eax
lea ecx, [esp + 0x38]
call fcn.00403cd0
mov ecx, eax
call fcn.00403cd0
cmp byte [esp + 0x14], 0
je 0x414a65
cmp dword [edi + 0x14], 8
jb 0x414a26
mov edi, dword [edi]
push dword [ebx]
lea eax, [esp + 0x120]
push edi
push 0x7ff
push 0x800
push eax
call fcn.0041d75e
add esp, 0x14
xor eax, eax
mov word [esp + 0x111a], ax
push 0x43eda8
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x38]
call fcn.00403cd0
jmp 0x414a78
push 0x43eda8
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x40]
call fcn.00403f30
mov ecx, eax
call fcn.00403cd0
and dword [ebx], 0
mov eax, dword [0x447824]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call fcn.00411b2b
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x447820], 8
push 0
push 0x80
push 4
push 0
push 1
mov eax, 0x44780c
cmovae eax, dword [0x44780c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x1130], 4
cmp esi, 0xffffffff
je 0x414bd4
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x414bcd
test eax, eax
je 0x414b95
cmp eax, 0x100000
jbe 0x414ba9
test esi, esi
je 0x414b1e
push esi
call edi
xor esi, esi
mov dword [esp + 0x14], esi
mov edx, 0x44780c
lea ecx, [esp + 0x48]
call fcn.00414c0c
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call ebx
cmp dword [esp + 0x5c], 8
lea ecx, [esp + 0x48]
cmovae ecx, dword [esp + 0x48]
cmp dword [0x447820], 8
mov eax, 0x44780c
cmovae eax, dword [0x44780c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [0x447820], 8
mov eax, 0x44780c
cmovae eax, dword [0x44780c]
push eax
call ebx
lea ecx, [esp + 0x48]
call fcn.00401c20
test esi, esi
je 0x414aa5
push esi
call edi
jmp 0x414aa5
xor eax, eax
push 0xfeff
inc eax
push eax
push 0
lea ecx, [esp + 0x3c]
call fcn.0040eb32
cmp dword [esp + 0x44], 8
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x414bd4
push esi
call edi
lea ecx, [esp + 0x18]
call fcn.00411b52
lea ecx, [esp + 0x30]
call fcn.00401c20
mov ecx, dword [esp + 0x1128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1110]
xor ecx, esp
call fcn.0041b283
mov esp, ebp
pop ebp
ret 0x14