Function at 0x4176c0
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 0x42ff87
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x43d0e4]
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 0x41770d
mov edi, dword [ebp - 0x124]
mov cx, word [0x432e68]
mov word [edi], cx
push str.LC.exe
lea ecx, [ebp - 0x130]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x150]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x14c]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x150]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
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], 5
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x158]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x15c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x134]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, dword [sym.imp.Engine.dll_long_int_g_iCountry]
cmp dword [ecx], 8
jne 0x4179a5
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], 0xa
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x174]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x164]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x11c]
call dword [0x431338]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x170]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x174]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x138]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
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], 0xd
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x18c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x188]
push edx
mov ecx, dword [ebp - 0x17c]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x120]
call dword [0x431338]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x188]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x13c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
jmp 0x417a65
mov edx, dword [sym.imp.Engine.dll_long_int_g_iCountry]
cmp dword [edx], 3
jne 0x417a65
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], 0x10
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x194]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x11c]
call dword [0x431338]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x140]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
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], 0x13
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1b0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x1ac]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1b0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x144]
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 0x417bbe
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], 0x18
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x1bc]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x1d0]
call dword [sym.imp.Engine.dll_public:_class_CTString___thiscall_CTString::operator_class_CTString_const__]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1bc]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x148]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, 1
test eax, eax
je 0x417b9e
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
je 0x417b91
jmp 0x417b9e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417b6a
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x12c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x417c17
mov dword [ebp - 0x1c4], 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 - 0x1c4]
jmp 0x417ca7
call fcn.00417550
mov edx, 1
test edx, edx
je 0x417c50
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
je 0x417c43
jmp 0x417c50
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417c1c
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x1cc], 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 - 0x1cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret