Function at 0x100c2c6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1010c00
call fcn.0100c948
sub esp, 0x43c
mov eax, dword [0x101d83c]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
call fcn.0100b513
cmp al, bl
jne 0x100c32a
test byte [0x101d77c], 4
je 0x100c313
push 0x10023dc
push 0x12
push dword [0x101d774]
push dword [0x101d770]
call fcn.0100677e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0100c694
pop edi
pop esi
pop ebx
leave
ret
test byte [0x101d77c], 4
je 0x100c34b
push 0x10023dc
push 0x13
push dword [0x101d774]
push dword [0x101d770]
call fcn.0100677e
push 0x104
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10023ec
lea eax, [ebp - 0x41c]
push eax
push 0x10024c4
mov edi, 0x101e280
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0xbb8
call fcn.0100d470
mov dword [ebp - 0x42c], ebx
push 0x17
push ebx
push 0x10024b4
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.0100b6ab
mov esi, eax
cmp esi, ebx
jge 0x100c3e9
test byte [0x101d77c], 1
je 0x100c3cc
push esi
push 0x10023dc
push 0x14
push dword [0x101d774]
push dword [0x101d770]
call fcn.01008cf8
push esi
lea ecx, [ebp - 0x448]
call fcn.01006dbe
push 0x1019c50
lea eax, [ebp - 0x448]
push eax
jmp 0x100c616
mov dword [ebp - 0x428], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x420], esp
push 0x1002498
mov byte [ebp - 4], 3
call fcn.010036fe
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 4
call fcn.0100b57d
lea ecx, [ebp - 0x424]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0100ba1f
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 5
call fcn.0100b846
mov eax, dword [ebp - 0x424]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x100c44b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
mov dword [ebp - 4], 2
call fcn.01006cce
call fcn.0100c129
cmp al, bl
je 0x100c47a
call fcn.0100b54e
jmp 0x100c53a
mov dword [ebp - 0x424], ebx
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
mov byte [ebp - 4], 7
call fcn.01006cce
lea eax, [ebp - 0x420]
push eax
call fcn.0100b873
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.01006929
mov eax, dword [ebp - 0x420]
cmp eax, ebx
je 0x100c4c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push ecx
lea eax, [ebp - 0x424]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
call fcn.01006cce
push ecx
lea eax, [ebp - 0x42c]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
call fcn.01006cce
call fcn.0100bca3
push ecx
lea eax, [ebp - 0x424]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
call fcn.01006cce
push ecx
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x420], esp
push eax
call fcn.01006cce
call fcn.0100bdef
call fcn.0100b54e
mov eax, dword [ebp - 0x424]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x100c53a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x428]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x100c54e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x42c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100c313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100c313
call sub.msvcrt.dll__CxxThrowException
int3