Function at 0x44a0b0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ac92f
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.0x44a0f5
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 4]
push eax
call fcn.0044a3d0
mov edi, eax
mov eax, dword [esi]
cmp eax, 9
ja case.default.0x44a0f5
jmp dword [eax*4 + 0x44a3a4]
cmp edi, ebx
jne 0x44a1dc
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 0x44a134
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.0044a580
mov edi, eax
jmp 0x44a136
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.0044a980
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 0x44a1d3
cmp edi, ebx
jne 0x44a1dc
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 0x44a1a0
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.0044a580
mov edi, eax
jmp 0x44a1a2
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.0044a980
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.0044c720
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x44a0f5
cmp edi, ebx
je 0x44a201
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0044ab30
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x44a0f5
cmp edi, ebx
je 0x44a22e
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.0044b000
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x44a0f5
cmp edi, ebx
je case.default.0x44a0f5
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.0044af40
jmp case.default.0x44a0f5
cmp edi, ebx
je case.default.0x44a0f5
mov eax, dword [esi + 8]
mov ecx, edi
push eax
call fcn.0044ac40
jmp case.default.0x44a0f5
cmp edi, ebx
je 0x44a28b
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, edi
call fcn.0044acb0
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x44a0f5
cmp edi, ebx
je case.default.0x44a0f5
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 0x44a2b4
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.0044a810
push edi
call fcn.00442ac0
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.0044cd60
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x44a32b
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0044c960
cmp dword [esi + 8], 1
jne 0x44a345
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x44a33e
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.0x44a0f5
mov al, byte [ecx - 1]
test al, al
je 0x44a35f
cmp al, 0xff
je 0x44a35f
dec al
mov byte [ecx - 1], al
jmp case.default.0x44a0f5
add ecx, 0xfffffffe
push ecx
call fcn.00442ac0
add esp, 4
jmp case.default.0x44a0f5
cmp edi, ebx
je 0x44a37c
mov edx, dword [esi + 0x14]
mov ecx, edi
push edx
call fcn.0044b150
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp case.default.0x44a0f5
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