Function at 0x4088d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.kz.21ec2020_3aea_1069_a2dd_08002b30309d
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x218], al
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x114]
and ecx, 3
mov byte [esp + 0x10], 0
rep movsb byte es:[edi], byte [esi]
mov edi, str.jjmclient.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x431c28
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0
and ecx, 3
push str.SoftProcessNum
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x225]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
push str.RULETOTOALNUM
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00406570
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4089d7
mov edi, 0x431a78
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x431c7c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ebp, ebp
test ebx, ebx
jle 0x408ac6
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x218]
push ebp
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push str.SoftProcess_d
push ecx
call fcn.0041269a
push 0x431c28
lea edx, [esp + 0x20]
push 0x104
push edx
lea eax, [esp + 0x230]
push 0
push eax
push str.RULETOTOAL
call fcn.00406450
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x408abd
test ebp, ebp
lea edi, [esp + 0x10]
jne 0x408a61
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x431c7c
jmp 0x408a7d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x431c7c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx - 1]
and ecx, 3
cmp ebp, eax
rep movsb byte es:[edi], byte [esi]
je 0x408abd
mov edi, 0x42c3cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x431c7c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebp
cmp ebp, ebx
jl 0x4089e1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret