Function at 0x43dbf0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4abc6f
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 4]
cmp eax, ebx
je case.default.0x43dc35
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 4]
push eax
call fcn.0043df10
mov edi, eax
mov eax, dword [esi]
cmp eax, 9
ja case.default.0x43dc35
jmp dword [eax*4 + 0x43dee4]
cmp edi, ebx
jne 0x43dd1c
push 0x90
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov dword [esp + 0x40], ebx
je 0x43dc74
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.0043e0c0
mov edi, eax
jmp 0x43dc76
xor edi, edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push ebx
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x50], 0xffffffff
call fcn.0043e4c0
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
push eax
lea ecx, [esp + 0x24]
jmp 0x43dd13
cmp edi, ebx
jne 0x43dd1c
push 0x90
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov dword [esp + 0x40], 1
je 0x43dce0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
mov ecx, eax
call fcn.0043e0c0
mov edi, eax
jmp 0x43dce2
xor edi, edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
push 1
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x50], 0xffffffff
call fcn.0043e4c0
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebp + 8]
call fcn.00440790
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x43dc35
cmp edi, ebx
je 0x43dd41
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0043e660
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x43dc35
cmp edi, ebx
je 0x43dd6e
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0043ea30
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x43dc35
cmp edi, ebx
je case.default.0x43dc35
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 0x14]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0043e980
jmp case.default.0x43dc35
cmp edi, ebx
je case.default.0x43dc35
mov eax, dword [esi + 8]
mov ecx, edi
push eax
call fcn.0043e760
jmp case.default.0x43dc35
cmp edi, ebx
je 0x43ddcb
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, edi
call fcn.0043e7c0
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x43dc35
cmp edi, ebx
je case.default.0x43dc35
mov eax, dword [edi + 0xc]
cmp eax, ebx
mov ebx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
je 0x43ddf4
mov ebx, eax
mov al, byte [esp + 0x48]
push ebx
mov byte [esp + 0x2c], al
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov ecx, edi
mov dword [esp + 0x40], 2
call fcn.0043e350
push edi
call fcn.0049c000
mov ecx, dword [esi + 4]
add esp, 4
lea edx, [esp + 0x48]
lea edi, [ebp + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x48], ecx
push edx
push eax
mov ecx, edi
call fcn.00440dd0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x43de6b
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004409d0
cmp dword [esi + 8], 1
jne 0x43de85
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x43de7e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je case.default.0x43dc35
mov al, byte [ecx - 1]
test al, al
je 0x43de9f
cmp al, 0xff
je 0x43de9f
dec al
mov byte [ecx - 1], al
jmp case.default.0x43dc35
add ecx, 0xfffffffe
push ecx
call fcn.0049c000
add esp, 4
jmp case.default.0x43dc35
cmp edi, ebx
je 0x43debc
mov edx, dword [esi + 0x14]
mov ecx, edi
push edx
call fcn.0043eb80
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x43dc35
mov dword [ebp + 4], ebx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4