Function at 0x4017f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b8], 0
mov eax, dword [0x45df40]
mov dword [ebp - 0x2bc], edi
test al, 1
jne 0x401870
or eax, 1
mov ecx, 0x45cc90
mov dword [0x45df40], eax
mov eax, dword [0x45cc90]
call dword [eax + 0xc]
add eax, 0x10
push 0x449440
mov dword [0x45df44], eax
call fcn.0042bbad
add esp, 4
mov eax, dword [0x45df44]
cmp dword [eax - 0xc], 0
jne 0x401a41
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x401a41
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4018a2
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x45df44
call fcn.00402de0
push 0x12
push str.RootGenius_shuame_
mov ecx, 0x45df44
call fcn.00403350
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [0x45df44]
call ebx
push str.Data_
lea ecx, [ebp - 0x2ac]
call fcn.004024f0
lea eax, [ebp - 0x2ac]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004025f0
add esp, 4
push 0
push dword [eax]
call ebx
mov edx, dword [ebp - 0x2b4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x401938
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x2ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40195b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DataApk
lea ecx, [ebp - 0x2a4]
call fcn.004024f0
lea eax, [ebp - 0x2a4]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004025f0
add esp, 4
push 0
push dword [eax]
call ebx
mov edx, dword [ebp - 0x2a8]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4019ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4019cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DataBin
lea ecx, [ebp - 0x2a4]
call fcn.004024f0
lea eax, [ebp - 0x2a4]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004025f0
add esp, 4
push 0
push dword [eax]
call ebx
mov edx, dword [ebp - 0x2a8]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401a20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x401a41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x2b0]
mov edx, 0x45df44
mov ecx, edi
call fcn.004026b0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x29c]
push 3
push dword [edi]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2b8], 1
mov dword [ebp - 0x2a0], eax
call fcn.00402cf0
push dword [ebp - 0x2a0]
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
cmp eax, ecx
je 0x401aa7
push eax
call fcn.0042b963
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b207
mov esp, ebp
pop ebp
ret