Function at 0x100024d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x101165b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.10086410
push str.CIS_CC_HMAC_PATH
call fcn.100861e9
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1000261e
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002520
lea edi, [ebp - 0x104]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10002530
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x104]
rep movsb byte es:[edi], byte [esi]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002550
mov ecx, dword [0x100aabdc]
mov edx, dword [0x100aabe0]
mov dword [eax], ecx
mov ecx, dword [0x100aabe4]
mov dword [eax + 4], edx
mov edx, dword [0x100aabe8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x104]
push eax
call fcn.10001753
add esp, 4
test eax, eax
jne 0x100025a1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008600b
mov esp, ebp
pop ebp
ret
push 0x100
lea ecx, [ebp - 0x104]
push 0
push ecx
call fcn.10086410
mov eax, ebx
add esp, 0xc
mov ecx, eax
jmp 0x100025c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100025c0
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100025d2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100025f0
mov ecx, 5
mov esi, str.cis_cc_3.2_static.lib
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x104]
push edx
movsb byte es:[edi], byte [esi]
call fcn.10001753
add esp, 4
test eax, eax
je 0x1000258e
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.10086410
push 0x100aabac
call fcn.10001753
add esp, 0x10
test eax, eax
je 0x1000258e
push 0x100aab90
call fcn.10001753
add esp, 4
test eax, eax
je 0x1000258e
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call esi
lea eax, [ebp - 0x104]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002676
mov edx, dword [0x100aabdc]
mov ecx, dword [0x100aabe0]
mov dword [eax], edx
mov edx, dword [0x100aabe4]
mov dword [eax + 4], ecx
mov ecx, dword [0x100aabe8]
mov dword [eax + 8], edx
lea edx, [ebp - 0x104]
push edx
mov dword [eax + 0xc], ecx
call fcn.10001753
add esp, 4
test eax, eax
je 0x1000258e
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.10086410
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call esi
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100026e3
mov ecx, 5
mov esi, str.cis_cc_3.2_static.lib
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x104]
push edx
movsb byte es:[edi], byte [esi]
call fcn.10001753
mov ecx, dword [ebp - 4]
add esp, 4
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
and eax, 0xffffdcd5
pop ebx
call fcn.1008600b
mov esp, ebp
pop ebp
ret