Function at 0x1001c938
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1006122e
call fcn.10060610
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0x2521
mov edi, edx
xor esi, esi
mov dword [ebp - 0x10], esp
cmp dword [ebp - 0x20], 0x2874
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], ecx
jle 0x1001c9d1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, esi
mov ebx, 0x1007bf78
mov dword [ebp - 0x1c], edi
mov eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov ecx, eax
mov esi, edi
mov edi, dword [ebp - 0x24]
shl esi, cl
mov eax, esi
mov ecx, ebx
and eax, edi
cdq
push edx
push eax
call fcn.100168d8
inc edi
cmp edi, 0x1938
jl 0x1001c987
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x18], eax
push 0
pop esi
cmp eax, 0x1137
jl 0x1001c97b
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x14f6
jl 0x1001c976
push esi
push 0x1e76
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [ebp - 0x14]
jmp 0x1001c9d6
mov ebx, 0x1007bf78
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x24c9
jge 0x1001c9ee
mov edx, str.ugklixmbp_hgniuj_oncusdcq_mkmiqpeyw_bgk
mov ecx, ebx
call fcn.1001ac5a
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x3161
cmp dword [ebp - 0x18], 0x31cf
jle 0x1001ca4e
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov eax, esi
cdq
idiv ecx
mov eax, edi
mov ecx, edx
sar eax, cl
mov ecx, ebx
cdq
push edx
push eax
call fcn.100168d8
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x7da6
jl 0x1001ca0f
inc esi
push 0
mov dword [ebp - 0x1c], esi
cmp esi, 0x4643
pop esi
jl 0x1001ca07
inc edi
cmp edi, 0x6330
jl 0x1001ca04
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x2e8b
jge 0x1001ca6a
mov edx, str.nyzb_taya_gct
mov ecx, ebx
call fcn.1001ac5a
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x24], 0
je 0x1001cbb1
mov dword [ebp - 0x1c], 0x3e97
cmp dword [ebp - 0x1c], 0x3ed6
jle 0x1001cab6
mov edi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0x1b6e
mov eax, esi
mov ecx, ebx
cdq
push edx
push eax
call fcn.100168d8
add esi, edi
dec dword [ebp - 0x20]
jne 0x1001ca94
inc edi
push 0
pop esi
cmp edi, 0x73bc
jl 0x1001ca8a
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1c], 0x3d8e
jge 0x1001cb51
mov edx, str.mhjbzrbqs_dvbrh_gvzal_bvhibhnfd_xon_bckhqm_twxelx_tez_jelbx_txnfkfa_axqtw
mov ecx, ebx
call fcn.1001ac5a
jmp 0x1001cb51
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi]
mov eax, dword [ebx]
cmp dword [eax + ecx*4], esi
jne 0x1001cb8d
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [edi]
mov eax, dword [edi]
mov esi, dword [edi]
mov eax, dword [edi]
test eax, eax
mov eax, dword [ebp + 0xc]
sete cl
xor edx, edx
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [ebx]
setle dl
xor ecx, ecx
cmp edx, dword [eax + esi*4]
mov edx, dword [ebp + 0x20]
setl cl
mov dword [edx], ecx
mov ecx, dword [edi]
mov eax, dword [edx]
mov esi, dword [edi]
mov ecx, 0xbd6cd538
mov eax, dword [edi]
mov edx, dword [ebx]
inc eax
cmp ecx, eax
mov eax, dword [ebp + 0x10]
sbb ecx, ecx
inc ecx
sub ecx, dword [edx + 4]
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, dword [edx + esi*4]
mov dword [eax], ecx
jmp 0x1001cc20
mov edi, dword [ebp + 8]
mov dword [edi], esi
jmp 0x1001cc1c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], 0x123d4a1c
cmp dword [edi], esi
jne 0x1001cbcf
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [eax], esi
je 0x1001cbd9
cmp dword [ebp - 0x18], esi
je 0x1001cbd9
xor edx, edx
inc edx
jmp 0x1001cbdb
mov edx, esi
mov eax, dword [edi]
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x18]
setg cl
xor edx, edx
cmp ecx, 0x5358
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
sub ecx, dword [edi]
mov eax, dword [ebp - 0x18]
cmp ecx, 0xaa08ecb3
setne dl
xor ecx, ecx
cmp edx, eax
setne cl
xor eax, eax
test ecx, ecx
sets al
mov dword [ebp - 0x24], eax
dec dword [edi]
cmp dword [edi], esi
jge 0x1001cbb8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret