Function at 0x100142e0
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078721
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], ecx
push str.CWdjRelatedManager::Init___r_n
call fcn.1001b040
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x254]
call fcn.10013600
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x254]
call fcn.10015080
add eax, 1
push eax
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x254]
call fcn.100150d0
mov byte [ebp - 4], 1
call fcn.100159d0
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x224]
call fcn.100136c0
push eax
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x14
call fcn.1001ce20
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x14
call fcn.1001ce60
test eax, eax
jne 0x1001441a
push str.MessageBox
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x1c
call fcn.1001ce20
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x1c
call fcn.1001ce60
test eax, eax
je 0x100143d1
push 0
push 0x10080958
push 0x10080964
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0x4c8
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x26c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.10013680
mov eax, dword [ebp - 0x26c]
jmp 0x10014a06
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x2c0]
mov dword [ecx + 0xc], 1
push 0
push 0
push 0
lea ecx, [ebp - 0x248]
call fcn.100159e0
push 0
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x2c0]
add eax, 8
push eax
call sub.gdiplus.dll_GdiplusStartup
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.10012680
mov ecx, eax
call fcn.1002e0c0
mov edx, dword [ebp - 0x250]
push edx
call fcn.100155c0
mov ecx, eax
call fcn.1003afc0
mov eax, dword [ebp - 0x250]
push eax
call fcn.10015690
mov ecx, eax
call fcn.1003b4e0
call fcn.10015760
mov ecx, eax
call fcn.10042bf0
call fcn.10015760
mov ecx, eax
call fcn.10042d60
mov dword [ebp - 0x25c], eax
push 0x10080978
lea ecx, [ebp - 0x288]
call fcn.10001230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x288]
push ecx
call fcn.10015690
mov ecx, eax
call fcn.1003cca0
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.10001270
push 0x1008098c
lea ecx, [ebp - 0x2a4]
call fcn.10001230
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2a4]
push edx
call fcn.10015690
mov ecx, eax
call fcn.1003ccf0
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a4]
call fcn.10001270
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.1002ee50
call fcn.10012680
mov ecx, eax
call fcn.100175d0
push eax
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x10
call fcn.100136a0
call fcn.10012680
mov ecx, eax
call fcn.10017670
push eax
lea ecx, [ebp - 0x220]
call fcn.10013600
mov byte [ebp - 4], 4
push 0x100809a0
lea ecx, [ebp - 0x220]
call fcn.10010eb0
lea ecx, [ebp - 0x220]
call fcn.100136c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100145b3
push 0
lea ecx, [ebp - 0x220]
call fcn.100136c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Apk_Config.ini
lea ecx, [ebp - 0x220]
call fcn.10010eb0
call fcn.10012930
mov ecx, eax
call fcn.1000d3c0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x10014630
push str.CWdjRelatedAppInstance::Singleton____Init___fail____r_n
call fcn.1001b040
add esp, 4
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.10013680
mov eax, dword [ebp - 0x2a8]
jmp 0x10014a06
call fcn.10012930
mov ecx, eax
call fcn.1000d980
test eax, eax
jne 0x10014692
push str.CWdjRelatedAppInstance::Singleton____IsCanUseWdjEngine____false_____r_n
call fcn.1001b040
add esp, 4
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.10013680
mov eax, dword [ebp - 0x2ac]
jmp 0x10014a06
mov edx, dword [0x10080a3c]
mov dword [ebp - 0x21c], edx
push 0x204
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.1005bf00
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x238], eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x22c]
call fcn.10013600
mov byte [ebp - 4], 5
push 0x5c
lea ecx, [ebp - 0x254]
call fcn.10015080
add eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.100150d0
mov byte [ebp - 4], 6
push 0x10080ad0
push 0x10080ad4
lea ecx, [ebp - 0x228]
call fcn.10014ea0
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.100151f0
add esp, 0xc
mov byte [ebp - 4], 7
push 0x10080ad8
push 0x2e
lea ecx, [ebp - 0x228]
call fcn.10015080
push eax
push 0
lea ecx, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x228]
call fcn.10015110
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call fcn.100151f0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x2b8]
push edx
call fcn.100152a0
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x220]
call fcn.10015a60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b8]
call fcn.10013680
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b4]
call fcn.10013680
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2b0]
call fcn.10013680
mov dword [ebp - 0x260], 0
jmp 0x10014835
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
cmp dword [ebp - 0x260], 0xa
jge 0x10014923
push 0
lea ecx, [ebp - 0x24c]
call fcn.100136c0
push eax
lea ecx, [ebp - 0x254]
call fcn.100136c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10014908
lea ecx, [ebp - 0x268]
call fcn.10015a20
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x10]
push eax
push str.cmd__c___saapt.exe__d_badging__s____s
lea ecx, [ebp - 0x268]
push ecx
call fcn.10015cc0
add esp, 0x14
push 0
push 0
lea ecx, [ebp - 0x268]
call fcn.100136c0
push eax
push str.cmd.exe
push 0x10080b44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x220]
call fcn.100136c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100148f9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.10013680
jmp 0x10014923
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.10013680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x264], 0
jmp 0x10014826
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x254]
call fcn.10015350
push eax
call fcn.10012930
mov ecx, eax
call fcn.1000d920
lea ecx, [ebp - 0x220]
call fcn.10015350
push eax
call fcn.10012930
mov ecx, eax
call fcn.1000d940
mov edx, dword [ebp + 0xc]
push edx
call fcn.10012930
mov ecx, eax
call fcn.1000f980
call fcn.10012930
mov ecx, eax
call fcn.1000db90
lea ecx, [ebp - 0x24c]
call fcn.100136c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.__CWdjRelatedManager::Init___r_n
call fcn.1001b040
add esp, 4
mov dword [ebp - 0x2bc], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24c]
call fcn.10013680
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call fcn.10013680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.10013680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.10013680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.10013680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.10013680
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret 8