Function at 0x46fec0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b87c0
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4ee05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 4
call fcn.00475cca
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46ff14
mov ecx, eax
call fcn.004707b0
jmp 0x46ff16
xor eax, eax
mov esi, dword [ebx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
test esi, esi
je 0x46ff39
mov ecx, esi
call fcn.00470830
push 4
push esi
call fcn.00475cfa
add esp, 8
mov ecx, ebx
call fcn.0046f950
test al, al
jne 0x46ff4c
or eax, 0xffffffff
jmp 0x470224
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00478480
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
jmp 0x46ffa0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ffa0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00402940
push 0xd
push str.kicreport.db
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.004027c0
mov edx, eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 4]
mov edi, dword [edx]
mov dword [ebp - 0x238], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x244], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x240], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x23c], ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x47006f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x470065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470240
push edx
push ecx
call fcn.00475cfa
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x20
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00475cca
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4701ca
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402f40
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x264]
call fcn.00402f40
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.KIC::File.0
call fcn.00402f40
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x47012f
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x470125
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470245
push edx
push ecx
call fcn.00475cfa
add esp, 8
xor eax, eax
mov dword [esi], vtable.KIC::DBFile.0
mov dword [esi + 0x1c], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x470199
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47018f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470245
push edx
push ecx
call fcn.00475cfa
add esp, 8
mov edi, dword [ebp - 0x248]
xor eax, eax
mov word [ebp - 0x27c], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x24c], eax
jmp 0x4701cc
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], esi
test ecx, ecx
je 0x4701e3
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, eax
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x470222
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x470218
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47024a
push ecx
push edi
call fcn.00475cfa
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.00475f67
mov esp, ebp
pop ebp
ret
call fcn.00481379
call fcn.00481379
call fcn.00481379
int3