Function at 0x433750
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bce91
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov edi, dword [ebp + 0xc]
mov ecx, esi
push eax
mov dword [ebp - 0x68], 0
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0
jne 0x4337d5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push esi
call sym.XNewLook.exe_int___cdecl_LFile::touch_class_LString_const__
add esp, 4
mov edi, eax
jmp 0x433902
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x68], 1
call sym.XNewLook.exe_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4d66a8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004870f5
mov byte [ebp - 4], 0
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x433854
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43384a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433927
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
jne 0x433872
or edi, 0xffffffff
jmp 0x433902
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call sym.XNewLook.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_LString::get_utf8_str_void_
cmp byte [ebp + 0x10], 0
je 0x43389e
push esi
push 1
lea eax, [ebp - 0x64]
mov word [ebp - 0x64], 0xbbef
push 3
push eax
mov byte [ebp - 0x62], 0xbf
call fcn.00487a5a
add esp, 0x10
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push esi
cmovae eax, dword [ebp - 0x44]
push 1
push dword [ebp - 0x34]
push eax
call fcn.00487a5a
push esi
mov edi, eax
call fcn.00487369
mov edx, dword [ebp - 0x30]
add esp, 0x14
cmp edx, 0x10
jb 0x4338f0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4338e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43392c
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x60]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
call fcn.0047cd61
int3