Function at 0x43b670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ca01
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x547770]
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.004ba451
add esp, 4
cmp eax, ebx
je 0x43bafb
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.004021e0
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 4
call fcn.0043cbd0
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.0043cd10
mov ecx, eax
call fcn.0043cb50
mov ecx, eax
call fcn.0043cd10
mov ecx, eax
call fcn.0043caf0
mov ecx, eax
call fcn.0043cd10
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 4
call fcn.0043cc80
push ebx
push 1
lea edx, [ebp - 0x238]
push edx
mov ecx, esi
call fcn.0043b110
cmp dword [ebp - 0x224], 8
mov byte [0x546230], al
mov byte [ebp - 4], 3
jb 0x43b7bb
mov eax, dword [ebp - 0x238]
push eax
call fcn.004b9d66
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.004021e0
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.0043cbd0
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.0043cd10
mov ecx, eax
call fcn.0043cb50
mov ecx, eax
call fcn.0043cd10
mov ecx, eax
call fcn.0043caf0
mov ecx, eax
call fcn.0043cd10
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.0043cc80
push ebx
push ebx
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.0043b110
cmp dword [ebp - 0x224], 8
mov byte [ebp - 0x2a9], al
mov byte [ebp - 4], 3
jb 0x43b874
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004b9d66
add esp, 4
cmp byte [ebp - 0x2a9], bl
je 0x43badd
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.004bad00
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.00408f50
add esp, 0xc
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
call fcn.00401720
cmp dword [ebp - 0x240], 8
jb 0x43b907
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.004b9d66
add esp, 4
mov dword [ebp - 4], 8
jmp 0x43b92a
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 0x43b950
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43b950
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004021e0
push str.kicsettingslog_
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x254]
push edx
mov byte [ebp - 4], 0xc
call fcn.00401890
lea ecx, [ebp - 0x28c]
push ecx
push eax
lea edx, [ebp - 0x2a8]
push edx
mov byte [ebp - 4], 0xd
call fcn.00410960
push 0x51cef8
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401890
add esp, 0x24
cmp dword [ebp - 0x294], 8
jb 0x43b9d7
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.004b9d66
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 0x43ba04
mov eax, dword [ebp - 0x254]
push eax
call fcn.004b9d66
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 0x43ba35
mov edx, dword [ebp - 0x238]
push edx
call fcn.004b9d66
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.004ba451
add esp, 4
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x43ba74
lea ecx, [ebp - 0x270]
push ecx
mov ecx, eax
call fcn.0043d340
mov edi, eax
jmp 0x43ba76
xor edi, edi
mov ecx, dword [esi + 0x2c]
mov byte [ebp - 4], 0x12
cmp edi, ecx
je 0x43ba91
cmp ecx, ebx
je 0x43ba8e
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 0x43baad
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.004b9d66
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 0x43badd
mov eax, dword [ebp - 0x28c]
push eax
call fcn.004b9d66
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.004ba901
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2b0], ebx
call fcn.004b9b7d
push 0x537da0
lea edx, [ebp - 0x2c4]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.004ba4d1
int3