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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d10c0
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x50c3e4]
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.0048d1b5
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x487714
mov ecx, eax
call fcn.00487fb0
jmp 0x487716
xor eax, eax
mov esi, dword [ebx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
test esi, esi
je 0x487739
mov ecx, esi
call fcn.00488030
push 4
push esi
call fcn.0048d1e5
add esp, 8
mov ecx, ebx
call fcn.00487150
test al, al
jne 0x48774c
or eax, 0xffffffff
jmp 0x487a24
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048f8b0
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 0x4877a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4877a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004025c0
push 0xd
push str.kicreport.db
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00404930
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 0x48786f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487865
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a40
push edx
push ecx
call fcn.0048d1e5
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.0048d1b5
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4879ca
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004035b0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x264]
call fcn.004035b0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.KIC::File.0
call fcn.004035b0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x48792f
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487925
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a45
push edx
push ecx
call fcn.0048d1e5
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 0x487999
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48798f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a45
push edx
push ecx
call fcn.0048d1e5
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 0x4879cc
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], esi
test ecx, ecx
je 0x4879e3
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 0x487a22
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x487a18
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a4a
push ecx
push edi
call fcn.0048d1e5
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.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
call fcn.00498b39
call fcn.00498b39
int3