Function at 0x4114e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f0e4
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x258], 0
push eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
call sub.gdiplus.dll_GdiplusStartup
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004693b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.home_installer.log
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x4a9998
push 0x6400000
push 0
push 1
lea eax, [ebp - 0x218]
push eax
call fcn.00438eb0
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4116c0
push 0x5e
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcludashi_installer.cc
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.004076f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x4a9c6c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004076f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
push 0x29
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 2
push str.init_app.
push esi
call fcn.00404940
add esp, 8
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call fcn.00404eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004041a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004041a0
call fcn.0040e780
push edi
mov ecx, eax
call fcn.00409de0
test al, al
je 0x4117e9
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4117dd
push 0x5e
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcludashi_installer.cc
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.004076f0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x4a9c6c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.004076f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
push 0x2c
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 6
push str.init_app_succ.
push esi
call fcn.00404940
add esp, 8
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f4]
call fcn.00404eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.004041a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004041a0
call fcn.0040e780
mov ecx, eax
call fcn.00409f00
call fcn.0040e780
mov ecx, eax
call fcn.0040a710
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4118fd
push 0x5e
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcludashi_installer.cc
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.004076f0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x248]
push 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push 0x4a9c6c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.004076f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x230]
push 0x30
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 0xa
push str.app_end.
push esi
call fcn.00404940
add esp, 8
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2f4]
call fcn.00404eb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.004041a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004041a0
cmp dword [0x4db3ec], 0
je 0x411936
push 0x4d4124
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4db3ec]
test ecx, ecx
je 0x41192b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x4db3ec], 0
push 0x4d4124
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004395e0
push dword [ebp - 0x24c]
call sub.gdiplus.dll_GdiplusShutdown
mov dword [ebp - 0x24c], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 0x10