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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6860
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4ec05c]
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.00473d6c
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46dfe4
mov ecx, eax
call fcn.0046e880
jmp 0x46dfe6
xor eax, eax
mov esi, dword [ebx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
test esi, esi
je 0x46e009
mov ecx, esi
call fcn.0046e900
push 4
push esi
call fcn.00473d9c
add esp, 8
mov ecx, ebx
call fcn.0046da20
test al, al
jne 0x46e01c
or eax, 0xffffffff
jmp 0x46e2f4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00476450
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 0x46e070
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e070
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004029b0
push 0xd
push str.kicreport.db
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00402830
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 0x46e13f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e135
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e310
push edx
push ecx
call fcn.00473d9c
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.00473d6c
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x46e29a
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402fb0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x264]
call fcn.00402fb0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.KIC::File.0
call fcn.00402fb0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x46e1ff
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e1f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e315
push edx
push ecx
call fcn.00473d9c
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 0x46e269
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e25f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e315
push edx
push ecx
call fcn.00473d9c
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 0x46e29c
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], esi
test ecx, ecx
je 0x46e2b3
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 0x46e2f2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x46e2e8
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e31a
push ecx
push edi
call fcn.00473d9c
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.00474009
mov esp, ebp
pop ebp
ret
call fcn.0047f349
call fcn.0047f349
call fcn.0047f349
int3