Function at 0x4063d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x447979
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c4
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], 0x44c584
mov eax, dword [0x457dc8]
mov dword [esp + 0x4dc], ebx
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x457e70]
push eax
call fcn.00406b20
mov edx, dword [0x457dc8]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x68]
push eax
call fcn.004275b0
push 0x455784
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x4ec], 1
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x10
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4e0], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x406494
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 edi, dword [esp + 0x4e4]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
mov ecx, 0x458048
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x4064e0
mov eax, dword [0x45804c]
push esi
push edi
push eax
call fcn.00401270
mov edx, dword [0x45804c]
mov dword [0x458050], esi
add esp, 0xc
mov word [edx + esi*2], bx
lea ecx, [esp + 0x78]
call section..text
xor eax, eax
mov byte [esp + 0x4dc], 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [0x455888]
cmp eax, ebx
jne 0x406512
mov dword [0x455888], ebx
lea ecx, [esp + 0x94]
push ecx
push 0x455858
push 0x457de8
call fcn.00406e50
push ebx
push eax
push ebx
push ebx
push SysReAllocString
lea edx, [esp + 0x5c]
push ebx
push edx
push 0xfffffffffffffffd
lea ecx, [esp + 0x98]
call fcn.00407440
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, 1
xor esi, esi
cmp edi, ebx
je 0x40657b
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push ebx
push eax
call ebp
test eax, eax
jne 0x40657b
mov edx, dword [esp + 0x10]
mov eax, esi
push eax
lea ecx, [esp + 0x14]
inc esi
call dword [edx + 4]
test eax, eax
jne 0x406557
xor edi, edi
push ebx
push ebx
lea eax, [esp + 0x34]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x406553
cmp eax, ebx
je 0x4065fb
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call dword [edx]
test eax, eax
jne 0x4065bb
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esp + 0x30]
cmp eax, 0x118
ja 0x4065e4
je 0x406553
cmp eax, 0xf
je 0x406553
cmp eax, 0xa0
je 0x406553
mov edi, 1
xor esi, esi
jmp 0x406553
cmp eax, 0x200
je 0x406553
mov edi, 1
xor esi, esi
jmp 0x406553
mov edx, dword [0x457dc8]
mov esi, dword [esp + 0x34]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x457e70]
push eax
call fcn.00406ba0
mov eax, dword [0x457dc8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x78]
mov byte [esp + 0x4dc], 3
call fcn.00401570
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4e0], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x4dc], 5
call fcn.00406fe0
lea ecx, [esp + 0x14]
mov dword [esp + 0x4dc], 0xffffffff
call fcn.00406fb0
mov ecx, dword [esp + 0x4d4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d0
ret