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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd9aa
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4f9004]
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.00405960
add esp, 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x465234
mov ecx, eax
call fcn.00465a49
jmp 0x465236
xor eax, eax
mov esi, dword [ebx + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
test esi, esi
je 0x465259
mov ecx, esi
call fcn.00465aba
push 4
push esi
call fcn.0040660b
add esp, 8
mov ecx, ebx
call fcn.00464c90
test al, al
jne 0x46526c
or eax, 0xffffffff
jmp 0x465544
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
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 0x4652c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4652c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004057cc
push 0xd
push str.kicreport.db
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0040684d
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 0x46538f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465385
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465560
push edx
push ecx
call fcn.0040660b
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.00405960
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4654ea
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00411bca
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x264]
call fcn.00411bca
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.KIC::File.0
call fcn.00411bca
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x46544f
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465445
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465565
push edx
push ecx
call fcn.0040660b
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 0x4654b9
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4654af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465565
push edx
push ecx
call fcn.0040660b
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 0x4654ec
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], esi
test ecx, ecx
je 0x465503
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 0x465542
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x465538
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46556a
push ecx
push edi
call fcn.0040660b
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.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
int3