Function at 0x41e4c8
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
sub esp, 0x338
lea ebp, [esp - 4]
mov eax, dword [0x47cbc0]
xor eax, ebp
mov dword [ebp + 0x338], eax
push 0x44
mov eax, 0x45d5b5
call fcn.004400cd
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x60], 7
call fcn.0040171f
push dword [0x462734]
mov edi, 0x47e098
push edi
mov dword [ebp - 4], ebx
call fcn.00401926
mov ecx, eax
call fcn.0041c2d6
test al, al
je 0x41e567
push str.RsrcMgr::createDirs:
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041f062
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 2
call fcn.00401480
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401537
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00401537
push 1
push dword [0x462734]
lea eax, [ebp + 0x48]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.0040138d
push edi
mov byte [ebp - 4], 3
call fcn.00401926
push eax
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0041c3c6
mov edi, 0x20a
push edi
lea eax, [ebp + 0x64]
push ebx
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], ebx
call fcn.0043fb00
add esp, 0xc
push edi
lea eax, [ebp + 0x64]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebx
jne 0x41e65e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0x3c], bl
je 0x41e622
push str.Error_retrieving_environment_variable:_Err_code
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp]
call fcn.0041c485
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401537
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401537
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0041b10c
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.00401537
push 4
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x338]
xor ecx, ebp
call fcn.0043f432
add ebp, 0x33c
leave
ret
cmp eax, edi
jne 0x41e693
mov dword [ebp - 0x10], 2
cmp byte [ebp + 0x3c], bl
je 0x41e622
push str.Error_retrieving_environment_variable:_Path_buffer_too_small.
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041f062
mov byte [ebp - 4], 8
jmp 0x41e600
lea eax, [ebp + 0x64]
push eax
mov ecx, esi
call fcn.00401513
push esi
mov ecx, esi
call fcn.0041e33f
mov edi, 0x462a20
push edi
mov ecx, esi
call fcn.004013bd
push ebx
call fcn.004413ce
push 0xa
push 0x64
lea ecx, [ebp + 0x270]
push ecx
push eax
mov dword [ebp - 0x30], edx
call fcn.00440579
add esp, 0x14
cmp eax, ebx
je 0x41e716
lea eax, [ebp - 0x10]
push eax
call fcn.004414aa
pop ecx
cmp byte [ebp + 0x3c], bl
je 0x41e622
push str.Error_converting_time_to_string:_Err_code
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
mov byte [ebp - 4], 0xa
jmp 0x41e600
push str.FUU_
mov ecx, esi
call fcn.004013bd
lea eax, [ebp + 0x270]
push eax
mov ecx, esi
call fcn.004013bd
push edi
mov ecx, esi
call fcn.004013bd
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x1c]
push esi
mov ecx, edi
call fcn.00401480
push str.Package_
mov ecx, edi
call fcn.004013bd
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x38]
push esi
mov dword [ebp - 0x30], ecx
call fcn.00401480
mov ecx, dword [ebp - 0x30]
push str.Common_
call fcn.004013bd
cmp dword [esi + 0x18], 8
jb 0x41e779
mov esi, dword [esi + 4]
jmp 0x41e77c
add esi, 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call esi
test eax, eax
jne 0x41e7cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0x3c], bl
je 0x41e622
push str.Error_creating_FUU_temp_directory:_Err_code
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
mov byte [ebp - 4], 0xc
jmp 0x41e600
cmp dword [edi + 0x18], 8
jb 0x41e7d6
mov edi, dword [edi + 4]
jmp 0x41e7d9
add edi, 4
push ebx
push edi
call esi
test eax, eax
jne 0x41e822
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0x3c], bl
je 0x41e622
push str.Error_creating_Package_directory:_Err_code
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
mov byte [ebp - 4], 0xe
jmp 0x41e600
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 8
jb 0x41e830
mov eax, dword [eax + 4]
jmp 0x41e833
add eax, 4
push ebx
push eax
call esi
test eax, eax
jne 0x41e8b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0x3c], bl
je 0x41e895
push str.Error_creating_common_directory:_Err_code
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0041f00e
mov ecx, eax
call fcn.0041f062
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
call fcn.0041c485
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401537
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401537
push 4
pop esi
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0041b10c
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.00401537
mov eax, esi
jmp 0x41e63b
cmp byte [ebp + 0x3c], bl
je 0x41e8fc
push str.Temporary_directories_created_successfully_
lea ecx, [ebp - 0x50]
call fcn.0041ee2f
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0041f062
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call fcn.0041c485
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401537
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401537
xor esi, esi
jmp 0x41e898