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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3130
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x50e3e0]
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.0048d61e
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x487bd4
mov ecx, eax
call fcn.00488470
jmp 0x487bd6
xor eax, eax
mov esi, dword [ebx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
test esi, esi
je 0x487bf9
mov ecx, esi
call fcn.004884f0
push 4
push esi
call fcn.0048d64e
add esp, 8
mov ecx, ebx
call fcn.00487610
test al, al
jne 0x487c0c
or eax, 0xffffffff
jmp 0x487ee4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048fe50
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 0x487c60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487c60
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00408290
push 0xd
push str.kicreport.db
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00402cd0
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 0x487d2f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487d25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487f00
push edx
push ecx
call fcn.0048d64e
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.0048d61e
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x487e8a
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402fd0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x264]
call fcn.00402fd0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.KIC::File.0
call fcn.00402fd0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x487def
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487de5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487f05
push edx
push ecx
call fcn.0048d64e
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 0x487e59
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487e4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487f05
push edx
push ecx
call fcn.0048d64e
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 0x487e8c
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], esi
test ecx, ecx
je 0x487ea3
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 0x487ee2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x487ed8
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487f0a
push ecx
push edi
call fcn.0048d64e
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.0048d65c
mov esp, ebp
pop ebp
ret
call fcn.00498fa9
call fcn.00498fa9
call fcn.00498fa9
int3