Function at 0x1000d633
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
push edi
mov dword [ebp - 0x384], ecx
push 0x100017e4
push 0x100017f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x370], eax
push 0x10001800
push 0x1000180c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x36c], 0
push 0x105
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x1000181c
push 0x5c
lea ecx, [ebp - 0x258]
push ecx
call fcn.10024c10
add esp, 8
add eax, 1
push eax
call dword [ebp - 0x25c]
mov edx, dword [ebp - 0x384]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 9
mov esi, 0x10001828
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
mov esi, 0x10001850
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x87]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x54]
push eax
push 0x10001870
lea ecx, [ebp - 0x148]
push ecx
call dword [0x10007598]
add esp, 0x10
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x23
lea ecx, [ebp - 0x368]
push ecx
push 0
call dword [0x100074f0]
push 0x10001878
lea edx, [ebp - 0x368]
push edx
push 0x100018a8
lea eax, [ebp - 0x368]
push eax
call dword [0x10007598]
add esp, 0x10
nop
nop
nop
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0x368]
mov dword [ebp - 0x14c], edx
nop
nop
nop
sub eax, 0
add eax, 0
sub eax, 0
add eax, 0
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 4]
push eax
call fcn.10023ad8
add esp, 4
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x260], 0
jmp 0x1000d7e8
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
cmp dword [ebp - 0x260], 2
jae 0x1000d894
push 0x100018b0
push 0x100018d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.10023a80
add esp, 0xc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp + edx*4 - 0x150]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [ebp - 0x374]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x378], eax
jmp 0x1000d871
mov ecx, dword [ebp - 0x378]
push ecx
call dword [ebp - 0x370]
mov edx, dword [ebp - 0x378]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
movsx edx, byte [ecx]
test edx, edx
je 0x1000d88f
mov eax, dword [ebp - 0x36c]
add eax, 1
mov dword [ebp - 0x36c], eax
jmp 0x1000d854
jmp 0x1000d7d9
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x380], ecx
mov edx, dword [ebp - 0x380]
push edx
call fcn.10023b02
add esp, 4
mov eax, dword [ebp - 0x36c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret