Function at 0x4361e0
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x465dea
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
mov al, byte [esp + 0x7c]
xor ebx, ebx
push ebx
lea edi, [esp + 0x1c]
mov ecx, ebp
mov byte [ebp], al
mov dword [esp + 0x1c], ebx
call fcn.004355e0
mov dword [esp + 0x20], vtable.MemoryControl.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.00436500
push eax
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.004355e0
test al, al
je 0x436432
mov eax, 0x4ec4ec4f
mul dword [esp + 0x18]
shr edx, 5
cmp edx, 0x32
mov dword [esp + 0x18], edx
jle 0x436432
lea esi, [esp + 0x48]
mov edi, ebp
call fcn.00436030
mov byte [esp + 0x70], 1
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov eax, dword [edx]
push eax
push 0x5c
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t__unsigned_int_const]
add eax, 1
push eax
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push str.DistConfig.dat
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call dword [0x46831c]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
lea ecx, [esp + 0x2c]
jne 0x436314
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x24]
test eax, eax
jmp 0x436438
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x43635f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x24]
test eax, eax
jmp 0x436438
mov eax, dword [esp + 0x18]
lea ebp, [eax - 0x32]
cmp ebp, eax
jge 0x4363d1
mov edi, ebp
imul edi, edi, 0x68
add edi, dword [esp + 0x1c]
lea ecx, [edi + 4]
call fcn.00435df0
cmp eax, dword [edi]
jne 0x4363c5
push 2
xor ecx, ecx
push ecx
push ecx
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x436465
push edi
call fcn.00432e20
push 0
lea edx, [esp + 0x20]
push edx
push 0x68
push edi
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43648f
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
add ebp, 1
add edi, 0x68
cmp ebp, dword [esp + 0x18]
jl 0x436373
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x436444
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043ad38
add esp, 0x60
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x436336
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [esp + 0x20]
call fcn.004364e0
jmp 0x436444