Function at 0x40e1d0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42562f
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4320e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x114]
add ecx, 0xffffffff
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
mov al, byte [edx + 1]
mov byte [ebp - 0x115], al
add dword [ebp - 0x124], 1
cmp byte [ebp - 0x115], 0
jne 0x40e21d
mov edi, dword [ebp - 0x124]
mov cx, word [0x4289e4]
mov word [edi], cx
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x154]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], ecx
push str.LC.exe
lea ecx, [ebp - 0x130]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x150]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x164]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
push str.LCNew.exe
lea ecx, [ebp - 0x134]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x160]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x134]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x164]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [sym.imp.Engine.dll_long_int_g_iCountry]
cmp dword [eax], 8
jne 0x40e4e4
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x180]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
push str.LW.exe
lea ecx, [ebp - 0x138]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x17c]
push edx
mov ecx, dword [ebp - 0x170]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x11c]
call dword [0x427280]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x17c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x19c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
push str.LWNew.exe
lea ecx, [ebp - 0x13c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x18c]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x194]
push edx
lea ecx, [ebp - 0x120]
call dword [0x427280]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x198]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x13c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x19c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
jmp 0x40e5af
mov eax, dword [sym.imp.Engine.dll_long_int_g_iCountry]
cmp dword [eax], 3
jne 0x40e5af
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
push str.LastChaosThai.exe
lea ecx, [ebp - 0x140]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x1b4]
push edx
mov ecx, dword [ebp - 0x1a8]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x11c]
call dword [0x427280]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x140]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
push str.lccnctNew.dta
lea ecx, [ebp - 0x144]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x1c4]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x144]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40e720
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1ec], ecx
push str.lccnct.dta
lea ecx, [ebp - 0x148]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x1ec]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x148]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, 1
test ecx, ecx
je 0x40e700
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x40e6f3
jmp 0x40e700
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e6cc
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x12c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40e779
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x128]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x1e0]
jmp 0x40e809
call fcn.0040e060
mov eax, 1
test eax, eax
je 0x40e7b2
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x40e7a5
jmp 0x40e7b2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e77e
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x1e8], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x128]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422e9a
mov esp, ebp
pop ebp
ret