Function at 0x40b300
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f92a
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x414378]
xor eax, ebp
mov dword [ebp - 0x38], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [section..data], 0
call sub.dump.dll_Ordinal_3_1
lea ecx, [ebp - 0x10]
call fcn.00401d90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00401650
add esp, 4
push str._settings.dat
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040b870
add esp, 0xc
mov byte [ebp - 4], 1
push 0
mov ecx, 0x41440c
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00402130
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x258]
call fcn.004027c0
push eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d8]
call fcn.00402160
lea ecx, [ebp - 0x34]
call fcn.0040b970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 6
push 0xc8
lea ecx, [ebp - 0x14]
call fcn.004027c0
push eax
call sub.dump.dll_Ordinal_4_1
add esp, 8
mov dword [ebp - 0x74], 0
jmp 0x40b3ff
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov ecx, 0x4143f4
call fcn.00402580
cmp dword [ebp - 0x74], eax
jae 0x40b757
mov edx, dword [ebp - 0x74]
push edx
mov ecx, 0x4143f4
call fcn.0040b920
mov ecx, eax
call dword [sym.imp.MSVCP90.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, [ebp - 0xd4]
call fcn.0040a490
mov byte [ebp - 4], 7
push 0x5c
lea ecx, [ebp - 0xd4]
call fcn.0040a510
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd4]
call fcn.004027a0
sub eax, dword [ebp - 0xd0]
sub eax, 1
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040b7e0
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0xd4]
call fcn.00401df0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1dc]
call fcn.00401dd0
lea ecx, [ebp - 0xd4]
call fcn.004027a0
sub eax, 4
push eax
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040a560
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
push edx
lea ecx, [ebp - 0xd4]
call fcn.00401df0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1e0]
call fcn.00401dd0
lea ecx, [ebp - 0xd4]
call fcn.004027c0
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
call fcn.004027c0
push eax
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 0xb
push str..zip
push str.2.2.0.1
push 0x410b88
lea eax, [ebp - 0x90]
push eax
push 0x5c
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x1fc]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_]
add esp, 0xc
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x270]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x278]
push ecx
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x280]
push ecx
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x288]
push ecx
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x250]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x218]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1fc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 0xc9], 0
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, 0x4143f4
call fcn.0040b920
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.0040ad60
add esp, 0xc
movzx eax, al
test eax, eax
je 0x40b6af
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x70]
push ecx
call sub.dump.dll_Ordinal_5_1
add esp, 0x10
mov byte [ebp - 0xc9], al
jmp 0x40b6d8
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, 0x4143f4
call fcn.0040b920
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x70]
push edx
call sub.dump.dll_Ordinal_5_1
add esp, 0x10
mov byte [ebp - 0xc9], al
movzx eax, byte [ebp - 0xc9]
test eax, eax
je 0x40b713
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP90.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]
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, 0x4143f4
call fcn.0040b920
mov ecx, eax
call dword [sym.imp.MSVCP90.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]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00401dd0
jmp 0x40b3f6
call sub.dump.dll_Ordinal_3_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040b7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0040e566
mov esp, ebp
pop ebp
ret