Function at 0x429fc0
Capabilities:
Get common file path

Disassembly:
push esi
push 0x470fd0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0xfde9
mov dword [0x470fd8], eax
mov dword [0x470fdc], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov esi, dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
push str..UTF8
push 0
call esi
push 0x461bb9
push 5
call esi
mov esi, dword [esp + 0x18]
push 0
push 0x4649a8
push 0x464960
push 0x464c44
push esi
call sym.wluart_static.exe_lua_registermodule
push 0x467a28
push 0x467a00
push 0x442380
push str.Task
push 0x4716b0
push esi
call sym.wluart_static.exe_lua_registerobject
push 0x467020
push 0x466f08
push 0x43e030
push str.File
push sym.wluart_static.exe_TFile
push esi
call sym.wluart_static.exe_lua_registerobject
add esp, 0x54
push 0x4674a8
push 0x467458
push 0x43fc90
push str.Buffer
push sym.wluart_static.exe_TBuffer
push esi
call sym.wluart_static.exe_lua_registerobject
push 0x4672d8
push 0x4672b0
push 0x43e8f0
push str.Pipe
push sym.wluart_static.exe_TPipe
push esi
call sym.wluart_static.exe_lua_registerobject
push 0x4673a0
push 0x4672f8
push 0x43eda0
push str.Directory
push sym.wluart_static.exe_TDirectory
push esi
call sym.wluart_static.exe_lua_registerobject
add esp, 0x48
push 0x466da8
push 0x466d70
push 0x43cbf0
push str.Datetime
push sym.wluart_static.exe_TDatetime
push esi
call sym.wluart_static.exe_lua_registerobject
push 0x46771c
push 0x467714
push 0x4405f0
push 0x464c64
push sym.wluart_static.exe_TCOM
push esi
call sym.wluart_static.exe_lua_registerobject
add esp, 0x30
push 0x4716e0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, 1
pop esi
ret

Function at 0x42a120
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x470d10]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push edi
push esi
xor edi, edi
call sym.wluart_static.exe_lua_gettop
add esp, 4
test eax, eax
je 0x42a15a
push edi
push 1
push esi
call sym.wluart_static.exe_lua_tolwstring
add esp, 0xc
mov edi, eax
lea eax, [esp + 8]
push eax
push 0
push edi
push 0x4716e0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x42a1e6
push 0xffffffffffffffff
lea eax, [esp + 0xc]
push eax
push esi
call sym.wluart_static.exe_lua_pushlwstring
add esp, 0xc
cmp dword [esp + 0x21c], 0
je 0x42a1d3
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x461bb9
push str..tmp
push 0
push 0xffffffffffffffff
push esi
call sym.wluart_static.exe_lua_tolstring
add esp, 0xc
push eax
push esi
call sym.wluart_static.exe_luaL_gsub
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, str.Directory
push 1
push eax
push esi
call sym.wluart_static.exe_lua_pushnewinstance
add esp, 0xc
jmp 0x42a1ef
mov eax, str.File
push 1
push eax
push esi
call sym.wluart_static.exe_lua_pushnewinstance
add esp, 0xc
jmp 0x42a1ef
push esi
call sym.wluart_static.exe_lua_pushnil
add esp, 4
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x214]
add esp, 4
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0045f421
add esp, 0x20c
ret