Function at 0x4022e8
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc6c
mov eax, dword [0x42a080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
xor ebx, ebx
push esi
lea eax, [ebp - 0x42a]
push ebx
push eax
mov word [ebp - 0x42c], bx
call fcn.0040a2d0
push esi
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.0040a2d0
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..dat
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
jmp 0x40236e
lea eax, [ebp - 0x220]
push eax
push edi
lea eax, [ebp - 0x42c]
push eax
push 0x425a10
push str.ModulePath
push str.TxdlProxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x42c]
push eax
call fcn.00409884
test eax, eax
pop ecx
jbe 0x402543
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402543
lea eax, [ebp - 0x42c]
push eax
mov dword [ebp - 0xc60], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc6c], eax
jmp 0x4023e2
cmp eax, ebx
je 0x402521
push str.TxDl_GetChildLaucherParam
push eax
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x44
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x5f
mov byte [ebp - 0xf], 0x47
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x4c
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x68
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [ebp - 0xc68], eax
lea eax, [ebp - 0x636]
push ebx
push eax
mov word [ebp - 0x638], bx
call fcn.0040a2d0
push esi
lea eax, [ebp - 0xa4e]
push ebx
push eax
mov word [ebp - 0xa50], bx
call fcn.0040a2d0
push esi
lea eax, [ebp - 0x842]
push ebx
push eax
mov word [ebp - 0x844], bx
call fcn.0040a2d0
or dword [ebp - 0xc64], 0xffffffff
add esp, 0x24
cmp dword [ebp - 0xc68], ebx
je 0x402521
push edi
lea eax, [ebp - 0x844]
push eax
push edi
lea eax, [ebp - 0xa50]
push eax
push edi
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0xc64]
push eax
call dword [ebp - 0xc68]
test eax, eax
je 0x402521
push esi
lea eax, [ebp - 0xc5a]
push ebx
push eax
mov word [ebp - 0xc5c], bx
call fcn.0040a2d0
add esp, 0xc
push edi
lea eax, [ebp - 0xc5c]
push eax
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc6c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x402521
push dword [ebp - 0xc64]
lea ecx, [ebp - 0x844]
push ecx
lea ecx, [ebp - 0xc5c]
push ecx
call eax
cmp eax, ebx
je 0x402521
mov edx, dword [eax]
lea ecx, [ebp - 0xa50]
push ecx
mov ecx, eax
call dword [edx]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092a8
leave
ret
mov dword [ebp - 0xc60], ebx
jmp 0x402521