Function at 0x100d6120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x10]
push 0x104
mov dword [0x10361214], eax
lea eax, [ebp - 0x108]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x100d61b8
mov edi, dword [esi]
test edi, edi
je 0x100d61b2
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x108]
push eax
call ebx
mov eax, dword [0x10361210]
mov ecx, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [eax], ecx
call edi
mov esi, dword [0x10361210]
jmp 0x100d61b8
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d61f1
mov esi, dword [esi]
test esi, esi
je 0x100d61f1
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call edi
push 0xe
push 0x1029bdc4
lea ecx, [ebp - 0x680]
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0xf
mov byte [ebp - 0x680], 0
call fcn.100b8260
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0xf
mov byte [ebp - 0x668], 0
mov dword [ebp - 0x650], 0
call fcn.100e7a50
push 0x4f
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x1029bdc4
push str.begin_execute__s__s___s_
call fcn.100e7920
call fcn.100e7a10
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.102629f0
add esp, 0x2c
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.SHELL32.dll_PathMakeUniqueName]
mov edi, 3
push 0x208
lea eax, [ebp - 0x414]
dec edi
push 0
push eax
call fcn.102629f0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1026c2d2
add esp, 0x18
lea eax, [ebp - 0x414]
push str.package
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100d6324
lea eax, [ebp - 0x61c]
push eax
push str.package
push str.package
push 0x104
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
call fcn.100c6680
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x624], 0
add esp, 4
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d6357
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.100b8260
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d6391
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.100debc0
add esp, 8
lea ecx, [ebp - 0x64c]
mov esi, eax
call fcn.100b7230
lea ecx, [ebp - 0x634]
call fcn.100b7be0
test esi, esi
je 0x100d6419
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x634]
call fcn.100c1a00
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.100e3070
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100d63ed
mov eax, dword [eax]
push eax
call fcn.100c6ed0
add esp, 4
lea ecx, [ebp - 0x64c]
call fcn.100b7be0
lea ecx, [ebp - 0x634]
call fcn.100b7230
test edi, edi
jg 0x100d62b3
jmp 0x100d64ef
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x634], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d6440
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.100b8260
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d647a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.100c6400
add esp, 8
lea ecx, [ebp - 0x64c]
call fcn.100b7230
lea ecx, [ebp - 0x634]
call fcn.100b7be0
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x634]
call fcn.100c1a00
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.100e3070
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100d64d0
mov eax, dword [eax]
push eax
call fcn.100c6ed0
add esp, 4
lea ecx, [ebp - 0x64c]
call fcn.100b7be0
lea ecx, [ebp - 0x634]
call fcn.100b7230
lea ecx, [ebp - 0x680]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102601ec
mov esp, ebp
pop ebp
ret