Function at 0x47cab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5472c1
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x1194
push esi
mov dword [ebp - 0x2b8], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
push 0x4c
mov byte [ebp - 4], 1
mov dword [esi + 0x24], ebx
call fcn.004801e4
add esp, 4
cmp eax, ebx
je 0x47cf3b
mov dword [esi + 0x20], eax
mov dword [eax], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x20]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x20]
mov byte [eax + 0x48], 1
mov ecx, dword [esi + 0x20]
mov byte [ecx + 0x49], 1
mov dword [esi + 0x2c], ebx
push 0x13
xor edx, edx
mov edi, 7
push str.kic.settingsencrypt
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 3
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.00401b70
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 4
call fcn.0047e020
push str.cache
push 1
push str.defalt:
lea ecx, [ebp - 0x238]
push ecx
push str.KIC::SettingsImpl::querySwitch
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0047e160
mov ecx, eax
call fcn.0047dfa0
mov ecx, eax
call fcn.0047e160
mov ecx, eax
call fcn.0047df40
mov ecx, eax
call fcn.0047e160
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 4
call fcn.0047e0d0
push ebx
push 1
lea edx, [ebp - 0x238]
push edx
mov ecx, esi
call fcn.0047c550
cmp dword [ebp - 0x224], 8
mov byte [0x58ce00], al
mov byte [ebp - 4], 3
jb 0x47cbfb
mov eax, dword [ebp - 0x238]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
push 0xf
mov word [ebp - 0x238], cx
push str.kic.settingslog
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
call fcn.00401b70
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.0047e020
push str.cache
push ebx
push str.defalt:
lea edx, [ebp - 0x238]
push edx
push str.KIC::SettingsImpl::querySwitch
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0047e160
mov ecx, eax
call fcn.0047dfa0
mov ecx, eax
call fcn.0047e160
mov ecx, eax
call fcn.0047df40
mov ecx, eax
call fcn.0047e160
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.0047e0d0
push ebx
push ebx
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.0047c550
cmp dword [ebp - 0x224], 8
mov byte [ebp - 0x2a9], al
mov byte [ebp - 4], 3
jb 0x47ccb4
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00480102
add esp, 4
cmp byte [ebp - 0x2a9], bl
je 0x47cf1d
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.00480280
add esp, 0xc
push ebx
push 0x1a
lea ecx, [ebp - 0x21c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], ebx
mov word [ebp - 0x28c], dx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 9
call fcn.00408e70
add esp, 0xc
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
call fcn.00402560
cmp dword [ebp - 0x240], 8
jb 0x47cd47
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00480102
add esp, 4
mov dword [ebp - 4], 8
jmp 0x47cd6a
xor edx, edx
lea eax, [ebp - 0x21c]
mov word [ebp - 0x238], dx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
lea edx, [eax + 2]
jmp 0x47cd90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47cd90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00401b70
push str.kicsettingslog_
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x254]
push edx
mov byte [ebp - 4], 0xc
call fcn.00404e30
lea ecx, [ebp - 0x28c]
push ecx
push eax
lea edx, [ebp - 0x2a8]
push edx
mov byte [ebp - 4], 0xd
call fcn.00410870
push 0x55c528
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 0xe
call fcn.00404e30
add esp, 0x24
cmp dword [ebp - 0x294], 8
jb 0x47ce17
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], dx
cmp dword [ebp - 0x240], 8
jb 0x47ce44
mov eax, dword [ebp - 0x254]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
cmp dword [ebp - 0x224], 8
mov byte [ebp - 4], 0x12
jb 0x47ce75
mov edx, dword [ebp - 0x238]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
push 8
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
call fcn.004801e4
add esp, 4
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x47ceb4
lea ecx, [ebp - 0x270]
push ecx
mov ecx, eax
call fcn.0047e760
mov edi, eax
jmp 0x47ceb6
xor edi, edi
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x12
cmp edi, ecx
je 0x47ced1
cmp ecx, ebx
je 0x47cece
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0x2c], edi
mov edi, 8
cmp dword [ebp - 0x25c], edi
jb 0x47ceed
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], dx
cmp dword [ebp - 0x278], edi
jb 0x47cf1d
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00480102
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2b0], ebx
call fcn.00480393
push 0x578650
lea edx, [ebp - 0x2c4]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00480bd1
int3